Open ghost opened 8 years ago
Hi @alnour-altegani, can you describe your workflow? Did you use electrify
+ electron-packager
?
yes I did . my steps was 1- run meteo (electrify run with it and build the electron app) 2- remove the .electrify/.dist 3- run electron-packager with my options like
// in project root
cd .electrify
electron-packager . todo --platform=linux --arch=ia32 --version=0.33.3 --asar --overwrite
then the build process finish successfully but show empty screen until I run meteor in other tab . the problem is show the above message which means electrify is not running meteor server because it is behave as it in development mode . I found the problem from the source code in the is_package option that make some regex to check if the app directory exist in the resources directory which will run the server and mongo else will not .
Thanks, I'm gonna check into it as soon as I can.
thank you
Just an update, the asar
archives are read-only, so everything that is currently written inside the app folder will have to be written elsewhere. It's a matter of refactoring every code-block that writes stuff to disk.
Ok, there are others problems regarding spawn
ing the binaries of MongoDB and NodeJS, which will in this case, be inside the asar file.
I've found a similar case here but doesn't sound to me like a solid way to go.
@arboleya Any update on asar functionality? If you need any help, just let me know!
thank you every body . but I use simple spa with some db and electron to create my desktop applications
thank you again
Any update on the asar problem? Windows deployments are really troublesome without it.
Bump
when use asar archives option with electron-packager . the application show empty screen until i run meteor by my self in other terminal and show this message: