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

套件詳情v1.0.0

auto_updater

此外掛程式允許Flutter桌面應用程式自動更新自身(基於Sparkle和WinSparkle)。

macOSWindows
近 30 天下載
8萬
喜歡數
218
Pub 分數
130

安裝套件

flutter pub add auto_updater

套件介紹

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

auto_updater 套件讓 Flutter 桌面應用程式能在 macOS 與 Windows 上自動更新自身,利用 Sparkle(macOS)與 WinSparkle(Windows)。它透過檢查新版本、下載更新並順暢套用更新來簡化更新交付流程。開發者可輕鬆將其整合至應用程式中,僅需最少設定,確保使用者無需手動介入即可始終擁有最新版本。此套件非常適合需要可靠自動更新機制的桌面應用程式。

適用情境

  • 桌面 Flutter 應用中的自動應用更新
  • 無縫版本升級,為終端使用者提供支援
  • 與 Sparkle 和 WinSparkle 框架整合
  • 減少手動更新開銷
  • 保持桌面應用程式的新狀態

主要特色

  • 支援 macOS 和 Windows 平台
  • 在底層使用 Sparkle 和 WinSparkle
  • 所需設定最少
  • 後台更新檢查
  • 自動下載和安裝

適合對象

  • 桌面 Flutter 開發人員
  • 需要自動更新的應用程式
  • 希望輕鬆部署的出版商
  • 管理多個桌面版本的團隊
  • 針對 macOS 和 Windows 的專案

使用建議

  • 需要正確配置更新來源
  • 僅限 macOS 和 Windows
  • 需要有效的更新元數據(例如,XML 或 JSON)
  • 不適用於行動平台
  • 依賴外部原生庫

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

🚀 Ship Your App Faster: Try Fastforge - The simplest way to build, package and distribute your Flutter apps.

auto_updater

pub version

This plugin allows Flutter desktop apps to automatically update themselves (based on sparkle and winsparkle).


English | 简体中文


Platform Support

Linux macOS Windows
➖ ✔️ ✔️

Documentation

Who's using it?

  • Biyi - A convenient translation and dictionary app.

API

AutoUpdater
Methods
setFeedURL

Sets the url and initialize the auto updater.

checkForUpdates

Asks the server whether there is an update. You must call setFeedURL before using this API.

setScheduledCheckInterval

Sets the auto update check interval, default 86400, minimum 3600, 0 to disable update

Related Links

  • https://sparkle-project.org/
  • https://winsparkle.org/

License

MIT

所屬分類

依賴

依賴清單 5 項

  • auto_updater_macos^1.0.0
  • auto_updater_platform_interface^1.0.0
  • auto_updater_windows^1.0.0
  • json_annotation^4.8.0
  • path^1.8.3

原始碼儲存庫

使用此套件的專案