gio-plugins icon indicating copy to clipboard operation
gio-plugins copied to clipboard

self updating desktop apps

Open gedw99 opened this issue 3 years ago • 4 comments

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.

gedw99 avatar Jan 01 '23 13:01 gedw99

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.

inkeliz avatar Jan 04 '23 11:01 inkeliz

Maybe example code can eventually be contributed by me and others to this repo so people have templates without reinventing the wheel

gedw99 avatar Jan 11 '23 14:01 gedw99

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:

https://github.com/utilitywarehouse/ghaction-wix

gedw99 avatar Jan 11 '23 14:01 gedw99

fyne already does packaging for windows https://github.com/fyne-io/fyne/blob/master/cmd/fyne/internal/commands/release.go#L233

gedw99 avatar Jan 12 '23 08:01 gedw99