FLUTTER ECOSYSTEM

anaisbetts/squirrel-flutter

使用 Squirrel 為您的 Flutter 應用程式建構安裝程式

squirrel-flutter 專案封面
Stars
58
Forks
14
最近推送(UTC)
2023年12月5日
專案狀態
未封存
Ani Betts GitHub avatar
GITHUB User

Ani Betts ↗

Margot Tenenbaum as software developer.

Berlin
語言DartJinja

此儲存庫發佈的套件

使用的依賴

依賴清單 6 項
  • flutter{"sdk":"flutter"}
  • jinja^0.3.0
  • path^1.8.0
  • yaml^3.1.0
  • flutter_test開發依賴{"sdk":"flutter"}
  • pedantic開發依賴^1.11.0

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 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).

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:

$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 - 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.