go-flutter
go-flutter copied to clipboard
New plugin: self-updating package
Have any plan add upgrade plugin for go-flutter? like upload to GitHub release package for upgrade.
I don't understand the question, hover has a hover upgrade
to upgrade the go-flutter dependency.
Do you want a hover plugin upgrade
command?
like auto update https://www.npmjs.com/package/electron-updater
No we don't have any plan on adding such features. But soon with #265 and https://github.com/go-flutter-desktop/plugins/pull/26 users (devs) will have the ability to query PlatformVersion (go-flutter version) and ProjectVersion (version of your app in pubspec.yaml).
Once those 2 PRs are merged, flutter dev can show a pop-up info to inform user of an update. When it comes to self-updating package, it is a bit more complex but possible!
There is an android and iOS downloader that is sort of like a self updater It's API for the plugin could be used for desktop and then a golang self updater is pretty easy.
Downloading a new PKG on Mac will require running the full installer. Do you want in place updating though ?
https://github.com/rodydavis/auto_updater
That plugin uses the official flutter desktop embedder so we can't use it. Also we have some packaging so it would be better to update the whole packaged app and not just the flutter code, because the update go code would be missing.
That plugin
That's not a plugin actually, it's just a desktop Flutter app that's had the Sparkle framework—a popular macOS updater—manually integrated. (Longer term I would hope that a Sparkle-based updated could be built as a plugin, but the necessary APIs aren't in place yet.)
it would be better to update the whole packaged app and not just the flutter code
Sparkle does update the entire application; it's a general-purpose macOS updater. Using it in a go-flutter-desktop application would just be a case of finding the right hook points for calling into the framework, and whatever packaging steps are necessary to bundle it.
Any improvement for desktop force auto-update? Has anyone been able to integrate it with electronjs-package I need help on this