-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 with platform and arch arguments doesn't build package #267
Comments
Why do you need to have dist:win64 and dist:win? Maybe electron-builder by default should build only current arch, but not all? |
@develar, no,
|
@d9k I think we should change this behaviour and by default build only current arch. Do you agree? |
@develar I agree but packaged version (squirrel installer) must be built too. |
Well, yes, it seems it is a bug. Will be investigated and fixed.
Ok, so, it will be implemented. win 32/linux 32 in any case doesn't make any sense in most cases. |
It is not a bug. If script is not named as |
Thanks! You improved our workflow enormously! |
We can also support magic script names like
but... it is not yet clear for me how does it important (since we by default build only current arch). And it can be too magical. Feel free to propose.
Thanks :) |
@develar thanks, I think it's already very usable ;) |
for windows 32 bit arch
|
electron-builder
versions: at least3.0.1
and2.10.1
.two package.json layout, outer package.json:
npm run dist
builds./dist/MyApp-win32-ia32
,./dist/MyApp-win32-x64
with unpackaged version and./dist/win
,./dist/win-x64
with packaged.npm run dist:win64
("build --platform win32 --arch x64"
) builds directory./dist/MyApp-win32-x64
only, where non-packaged app is located.The text was updated successfully, but these errors were encountered: