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(maker-zip): add new macUpdateManifestBaseUrl and macUpdateReleaseNotes options #3107

Merged
merged 2 commits into from
Mar 8, 2023

Conversation

MarshallOfSound
Copy link
Member

These two new options allow the zip maker to spit out a valid RELEASES.json file for use with the Electron autoUpdater. It makes the most sense to put this in the zip maker as the zip artifacts are what the macOS auto updater uses to update. They are a parallel to the remoteReleases option you can pass to the squirrel windows maker.

This is part 1 of a multi-part series of PRs to forge + update-electron-app + forge-docs to make the story for "I use forge, I want to update my app from static storage like S3" incredibly easy to tell.

…eNotes options

These two new options allow the zip maker to spit out a valid RELEASES.json file for use
with the Electron autoUpdater.  It makes the most sense to put this in the zip maker as the
zip artifacts are what the macOS auto updater uses to update.

This is part 1 of a multi-part series of PRs to forge + update-electron-app + forge-docs to make
the story for "I use forge, I want to update my app from static storage like S3" incredibly easy to tell.
packages/maker/zip/src/Config.ts Outdated Show resolved Hide resolved
packages/maker/zip/src/Config.ts Show resolved Hide resolved
Co-authored-by: Erick Zhao <erick@hotmail.ca>
Copy link
Member

@erickzhao erickzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: What kind of adaptation would users need to have static auto-updates work with DMGs as well? Are DMG targets stuck shipping an update server instead?

@MarshallOfSound
Copy link
Member Author

DMGs aren't used for updates in any way, you need to build a zip. The only reason to make a DMG is to use as the download users get from your website the first time.

@erickzhao
Copy link
Member

Makes sense to me. Thanks!

@VerteDinde VerteDinde added this pull request to the merge queue Mar 8, 2023
Merged via the queue into main with commit 98b621d Mar 8, 2023
@VerteDinde VerteDinde deleted the zip-maker-squirrel branch March 8, 2023 00:05
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.

3 participants