Closed StephanMa closed 1 year ago
Have you tried a debug build 'wails build -debug -platform windows/arm64'? That should show you a console window with debug output.
Yes I tried.... Window pops and closes immediately
Try starting it from a cmd.exe shell. That prevents closing the console window and loosing the output.
okay...
2023/09/27 19:26:11 no
index.htmlcould be found in your Assets fs.FS, please make sure the embedded directory 'frontend/dist' is correct and contains your assets
//go:embed all:frontend/dist
var assets embed.FS
is added
Allright.. Thanks for helping debugging this thing. I used a skeleton-sveltekit-tailwind-Template. I had to change the path for the build-dir will close
Perhaps open an issue for them to improve the docs?
Description
I developed an App which works perfect on Mac.
wails dev .
and build under Mac works like a charm without any problems. Compiling to windows/arm64 (for testing in Parallels) or windows/amd64 on my notebook works. But the app isn't shown. Window is opening and instantly closed.To Reproduce
Expected behaviour
I expect the app to show up or give an error.
Screenshots
No response
Attempted Fixes
wails build -platform windows/amd64 -webview2 embed -clean
Try to change webview2 to browser and enable debug... nothing works
System Details
Additional context
Dosen matter if Windows is arm64 or amd64.