Skip to content
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

feat: manually control version strings in installers and uninstallers #4517

Merged
merged 1 commit into from
Jan 16, 2020

Conversation

SinusPi
Copy link
Contributor

@SinusPi SinusPi commented Dec 7, 2019

Currently, each build has the current version string(s) embedded in various files - namely, the branded Electron executable and (in the case of NSIS) the uninstaller. This causes each installation package to differ considerably from the previous one, as especially compressing of the modified executable may well lead to megabytes of changed data.
With this feature, adding "shortVersion" and (optionally) "shortVersionWindows" in package.json embeds these values instead. Thus a build can be internally tagged as "1.x" or similarly (1.0.0.0 in the Windows format) and have consecutive branded executables or uninstallers identical to the previous ones (as long as the version strings don't change). The result is a significant decrease in update sizes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants