Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anaisbetts/squirrel-flutter
Build installers for your Flutter applications with Squirrel
https://github.com/anaisbetts/squirrel-flutter
Last synced: about 2 months ago
JSON representation
Build installers for your Flutter applications with Squirrel
- Host: GitHub
- URL: https://github.com/anaisbetts/squirrel-flutter
- Owner: anaisbetts
- License: bsd-3-clause
- Created: 2021-03-08T22:02:25.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-05T19:42:52.000Z (about 1 year ago)
- Last Synced: 2024-08-03T19:09:14.510Z (5 months ago)
- Language: Dart
- Size: 8.37 MB
- Stars: 57
- Watchers: 3
- Forks: 13
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-flutter-desktop - squirrel - Create installable desktop apps (Packages)
README
# Squirrel.Windows for Flutter
This package creates desktop installers for Windows 7+ as well as implements auto-update, via Squirrel.Windows, an installer technology used originally as part of the Atom text editor and now deployed on millions of machines via projects such as Slack, Discord, GitHub Desktop, as well as hundreds of other projects.
## Getting Started (alpha)
Run the following command, it will tell you what to do next (put an extra block in your pubspec.yaml).```sh
flutter pub run squirrel:installer_windows
```Now take that folder that it generates and upload that to Cloudfront / Fastly / any static CDN. Bingo bongo, you're done!
## How do I update? (alpha)
This is WIP, but the extremely lazy answer is, run this command on startup via Process.run:
```sh
$WHATEVER_FOLDER_MY_EXECUTABLE_IS_IN/../Update.exe --update https://wherever-i-put-my-update-folder
```
`
Before this package reaches 1.0, it will have a proper API to do this!## Where can I read more, because this README is extremely lacking in content! (I know)
Read the [Squirrel documentation](https://github.com/Squirrel/Squirrel.Windows/blob/develop/docs/readme.md) - note that some of the names in this package have been clarified / simplified vs. what they are called in Squirrel.Windows, read installer_windows.dart in this package to see how things map.