-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build application already packaged with electron-packager #1273
Comments
Please see in the readme Pack Only in a Distributable Format Keep in mind that default quality of electron-packager result is worse than electron-builder pack. At least, please enable asar in the electron-packager to make your app faster on Windows (and reduce code sign time). |
Also, electron-builder will not sign your app exe — only installer. Hmm... |
But I have an importan option in electron-packager that I didn't found in electron-builder, that is ignore a folder by platform. electron:package --platform=darwin --arch=x64 --ignore=vendor/Windows |
@debelop13 electron-builder allows you do it in a more simple and easy way using glob pattern — please see files Please see also https://github.com/electron-userland/electron-builder/wiki/Options#file-patterns "build": {
"files": ["!vendor/Windows${/*}"]
} |
But I want to ignore for platform: electron:package --platform=darwin --arch=x64 --ignore=vendor/Windows electron:package --platform=win32 --arch=x64 --ignore=vendor/macOS |
You have three solutions:
I recommend solution 2, but if you don't wan't to rename folders, you can use solution 1. If you don't want to specify |
My app does not work once is packaged with electron-builder, because when is running it has different bugs. I try to Pack Only in a Distributable Format, but it neither does not work. Using ./node_modules/.bin/build --prepackaged ./node_modules/.bin/build --prepackaged electron-builds/example-8.0.21-darwin-x64 Bash it shows nothing: neither errors nor where is the compiled I am doing something badly |
Strange. What version of electron-builder do you use? |
./node_modules/.bin/build --version |
Same as @debelop13 here. |
Hello,
I will try to explain my problem,
My app (ember app) was built with ember electron (underhood it have electron-packager). I have created .app and .exe -with .dll and some stuff-, and is working correctly.
And I want to create .dmg/.exe adding Code Signing.
Exists any way to build .dmg and .exe with electron-builder once was compilated with electron-packager?
Thanks!!!
The text was updated successfully, but these errors were encountered: