Skip to content

Commit

Permalink
starts server with start command.
Browse files Browse the repository at this point in the history
  • Loading branch information
Snider committed Mar 28, 2024
1 parent c2f35d9 commit 2c0317c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (b *App) startup(ctx context.Context) {
// fmt.Println("Starting dappserver: " + exePath)
// spawnCmd = exec.Command(exePath)
//}
if proc, err := Start(exePath); err == nil {
if proc, err := Start(exePath, "start"); err == nil {
fmt.Println("Started dappserver: ")
if err != nil {
fmt.Println("cmd.Start failed: ", proc)
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"path/filepath"
)

//go:embed all:frontend/lethean/dist
//go:embed all:frontend/dist
var assets embed.FS

var homeDir string
Expand Down
2 changes: 1 addition & 1 deletion wails.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://wails.io/schemas/config.v2.json",
"name": "lethean",
"assetdir": "frontend/dist/lethean/browser",
"assetdir": "frontend/dist/browser",
"frontend:dir": "frontend",
"frontend:build": "npm run fe-build",
"frontend:dev:build": "npm run fe-build",
Expand Down

0 comments on commit 2c0317c

Please sign in to comment.