Open gedw99 opened 1 year ago
Fyne already have this feature (https://github.com/fynelabs/selfupdate), I never use and I'm not sure if its compatible with Gio.
On Windows (even without publishing the app) its possible to self-update the app using APPX/MSIX (https://learn.microsoft.com/en-us/windows/msix/app-package-updates). You need to bundle the executable and create the appx installer.
On iOS/Android/Windows/macOS is possible to self-update the app, if its published on the respective app-store.
Maybe example code can eventually be contributed by me and others to this repo so people have templates without reinventing the wheel
windows tutorial and code
https://dev.to/abdfnx/how-to-create-a-msi-file-for-go-program-je
https://github.com/mh-cbon/go-msi
needs toolset .
Would be good to make into a GitHub a room so devs don’t need the heavy wix toolset . Here is one:
fyne already does packaging for windows https://github.com/fyne-io/fyne/blob/master/cmd/fyne/internal/commands/release.go#L233
A very common but missing feature for GIO ( and also fyne ) is self updating.
https://github.com/minio/selfupdate looks ok but i have not tested it. Seems to be well used too.