gioui-plugins / gio-plugins

Gio-Plugins offers new plugins to extend and enhance your Gio app. Inspired by flutter/plugins repository,
Other
56 stars 7 forks source link

self updating desktop apps #28

Open gedw99 opened 1 year ago

gedw99 commented 1 year ago

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.

inkeliz commented 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.

gedw99 commented 1 year ago

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

gedw99 commented 1 year ago

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 commented 1 year ago

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