3 ms·
How does the upgrade process work? One challenge I remember from when I was working on Windows desktop software was the challenge of maintaining version number
by eberkund 5y ago
How does the upgrade process work?
One challenge I remember from when I was working on Windows desktop software was the challenge of maintaining version numbers and working with WiX installers to manipulate the Windows MSI database. Most software I've used over the years handles this very poorly but there are some exceptions. I think the best example that comes to mind is the WireGuard Windows client.
- ezekg 5y agoIt utilizes https://github.com/inconshreveable/go-update https://github.com/inconshreveable/go-update, which updates itself by replacing its executable file with the new version downloaded from Keygen's API (which handles checking if an upgrade is available). The new version will then be available after a restart of the executable. Since Go apps are distributed as a single binary file, it makes it pretty painless to update them compared to e.g. a typical desktop app.