-
-
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
Ability to download proper app package based on user's architecture via NSIS #1207
Comments
I suppose with this type of feature the updater system will need to have a way to specify whether to download the x32 or x64 bit update as well. |
+1 for this. |
Use Auto-Update — works as before. Package will be downloaded as part of installing. |
@develar how do I use it (and autoupdates) if I'm releasing my app on GitHub? |
In the upcoming version |
Let me know when it's released :) |
@akashnimare Please try 13.6.0 |
@develar How do I suppose to use it? I want to generate both the arch ia32+x64 on windows. Is it correct - scripts : {
"dist" : "build nsis-web --ia32 --x64"
} or scripts : {
"dist" : "build --nsis-web"
} |
|
Or, you can set |
Thanks, I'm trying it out 🚀 |
@develar So I have got three files here-
and latest.yml in |
I'm just curious, is there a way to go from the regular installer to the web installer eventually? Or not possible if you already published the first version of the app? |
Yes. It will be uploaded automatically. https://github.com/electron-userland/electron-builder/wiki/Publishing-Artifacts
Yes.
It is possible without any issues or risks. Because Even more — now you can change artifact name, you are not forced to use only |
@develar Can I use perMachine and perClick with build : {
"win": {
"target": "nsis-web",
"icon": "build/icon.ico",
"iconUrl": "https://raw.githubusercontent.com/zulip/zulip-electron/master/build/icon.ico"
},
"nsis-web": {
"perMachine": true,
"oneClick": false
}
} |
You can try and report issue if it doesn't work ;) |
@develar will update you on this. Btw setting |
Yes, it sets only target, not arch. So, |
As referenced in #1165
If we can change the installer to download the proper app package (32 vs 64 bit) instead of combining both and wasting space then this would be a benefit for people that have large installers.
Objective is to try and save bandwidth for updates/downloads and to make the installation process faster for the user (less download time for people with slow internet).
The text was updated successfully, but these errors were encountered: