Open lunafi-evan opened 5 years ago
Hey, @lunafi-evan!
You can use this command for building the Windows app:
meteor-desktop build-installer -- localhost:3000 --win --build-meteor --meteor-settings settings.json
If you don't have any meteor settings you can remove --meteor-settings settings.json
I hope it would help you to build the app!
@lunafi-evan - If you put the meteor-desktop
in a separate script and then run meteor npm run
it should fix your issue.
script: {
"desktop": "meteor-desktop"
"build": "meteor npm run desktop -- build-installer ......."
This way arguments are being correctly passed in.
I'm trying to build for Windows on a Linux machine, but no matter what I do it always builds for Linux only.
The documentation is unclear of where the
--win
flag should go, I've tried both of these below:According to the electron-builder documentation:
But I only ever get the build for the Linux target. This is the build output below