Skip to content

Migrate Squirrel to Velopack - #199

Draft
sshcrack wants to merge 5 commits into
lulzsun:mainfrom
sshcrack:migrate-velopack
Draft

Migrate Squirrel to Velopack#199
sshcrack wants to merge 5 commits into
lulzsun:mainfrom
sshcrack:migrate-velopack

Conversation

@sshcrack

@sshcrack sshcrack commented Apr 25, 2024

Copy link
Copy Markdown
Contributor

Fixes issue #181 (maybe #192) . Migrated Squirrel to Velopack. Haven't tested updating yet and we'll have to handle Github Releases

I've made the UpdateManager a static public field in Updater to apply updates when the user clicks restart.

@sshcrack

sshcrack commented Apr 25, 2024

Copy link
Copy Markdown
Contributor Author

Alright, I'm setting up the csproj config, what should the packId be? RePlays? Also, we have to decide for a channel that velopack is going to use. I'm going for stable for now.
Folder structure looks like this:
grafik

@sshcrack

sshcrack commented Apr 25, 2024

Copy link
Copy Markdown
Contributor Author

To be done:
Github workflows.
I think a release has to be deployed manually first for velopack to create deltas and establish the update channel (and for the github workflow to work)

@sshcrack

Copy link
Copy Markdown
Contributor Author

Sometimes delta updates are not applied when just exiting the application without calling ApplyUpdatesAndExit if an update is pending.
Maybe we could add a exit hook to the application as well to apply updates. There's more info here

@sshcrack

Copy link
Copy Markdown
Contributor Author

@lulzsun what do you think?

@lulzsun

lulzsun commented Apr 28, 2024

Copy link
Copy Markdown
Owner

I'm holding off reviewing this until I have more free time. Since it sounds like this may introduce breaking changes, I'll have to properly test this myself before making decisions.

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.

2 participants