RePlays icon indicating copy to clipboard operation
RePlays copied to clipboard

Migrate Squirrel to Velopack

Open sshcrack opened this issue 1 year ago • 5 comments

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 avatar Apr 25 '24 10:04 sshcrack

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 avatar Apr 25 '24 14:04 sshcrack

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 avatar Apr 25 '24 16:04 sshcrack

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 avatar Apr 25 '24 22:04 sshcrack

@lulzsun what do you think?

sshcrack avatar Apr 28 '24 16:04 sshcrack

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.

lulzsun avatar Apr 28 '24 21:04 lulzsun