搜尋套件、儲存庫與 APP 分類

套件詳情v0.2.0

squirrel

建立可安裝的桌面應用程式

近 30 天下載
53
喜歡數
40
Pub 分數
35

安裝套件

flutter pub add squirrel

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Squirrel 是一個 Flutter 套件,讓開發者能為 Windows、Linux 和 macOS 創建可安裝的桌面應用程式。它簡化了將 Flutter 應用程式打包並發布為原生桌面安裝程式的過程,處理更新、檔案關聯與系統整合。透過利用 Squirrel 強大的更新機制,應用程式可自動檢查並套用更新,確保使用者始終擁有最新版本。此套件與 Flutter 工作流程無縫整合,並支援跨平台部署,設定簡單。

適用情境

  • 建構可分發的桌面應用程式
  • 自動化應用更新
  • 為多個作業系統創建安裝程式套件
  • 整合原生桌面功能
  • 將Flutter應用發布給最終用戶
  • 啟用靜默後台更新

主要特色

  • 跨平台桌面支援
  • 自動更新管理
  • Windows、Linux 與 macOS 的安裝程式產生
  • 與 Flutter 的無縫整合
  • 支援增量更新
  • 基於 CLI 的簡單設定

適合對象

  • 桌面應用程式開發者
  • 跨平台桌面應用程式的發行者
  • 需要自動更新的團隊
  • 針對 Windows、Linux 與 macOS 的開發人員
  • 需要原生安裝程式行為的專案

使用建議

  • 需要進行平台特定的設定步驟
  • 僅限桌面平台
  • 複雜的工作流程可能需要額外的設定
  • 不適用於行動或Web部署
  • 依賴外部 Squirrel 工具以實現完整功能

原始 README

以下為關聯原始碼儲存庫的 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.

所屬分類

依賴

依賴清單 3 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。