diff --git a/app.go b/app.go index 5800bba5..fe017d94 100644 --- a/app.go +++ b/app.go @@ -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) diff --git a/main.go b/main.go index 39e6931f..acb2f7cd 100644 --- a/main.go +++ b/main.go @@ -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 diff --git a/wails.json b/wails.json index a915620c..08225e66 100644 --- a/wails.json +++ b/wails.json @@ -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",