Closed rehoehle closed 1 year ago
Hi @rehoehle! 👋
It looks like you provided an invalid or unsupported reproduction URL. Do not use any service other than Codepen, jsFiddle, StackBlitz, Codesandbox, and GitHub. Make sure the URL you provided is correct and reachable. You can test it by visiting it in a private tab, another device, etc. Please edit your original post above and provide a valid reproduction URL as explained.
Without a proper reproduction, your issue will have to get closed.
Thank you for your collaboration. 👏
I found the problem. There was a needed dependency only in the devDependencies that were used in preload and there was no error.
What happened?
We use Electron-Builder to build the Quasar application. When i start the program with dev-mode so
quasar dev -m electron
It's working fine and everything is loaded. When i build the project with
quasar build -m electron
i get the ZIP and DMG package but when i run the program the screen is empty. During the build there are not exceptions.
I have a default installation with Quasar and Vite with Typescript.
Perhaps the ENV variable is not set and he don't load the index.html file?
mainWindow.loadURL(process.env.APP_URL);
What did you expect to happen?
The program should load the application.
Reproduction URL
https://iselectrone.de/
How to reproduce?
Build the DMG file with Electron-Builder version "^23.6.0".
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Electron Mode
Platforms/Browsers
Electron
Quasar info output
Relevant log output
No response
Additional context
No response