パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.2.0

squirrel

インストール可能なデスクトップアプリを作成する

30日間ダウンロード
53
いいね数
40
Pub ポイント
35

パッケージをインストール

flutter pub add squirrel

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Squirrel は、Windows、Linux、macOS 向けのインストール可能なデスクトップアプリケーションを Flutter デベロッパーが作成できるようにする Flutter パッケージです。Flutter アプリをネイティブなデスクトップインストーラーとしてパッケージ化し、公開するプロセスを簡素化し、アップデート、ファイル関連付け、システム統合を処理します。Squirrel の堅牢なアップデートメカニズムを活用することで、アプリは自動的に更新をチェックして適用でき、ユーザーが常に最新バージョンを使用できるようになります。このパッケージは Flutter ワークフローとシームレスに統合され、最小限の構成でクロスプラットフォーム展開をサポートしています。

用途

  • 配布可能なデスクトップアプリの構築
  • アプリの更新を自動化する
  • 複数のOS用のインストーラパッケージを作成する
  • ネイティブデスクトップ機能の統合
  • 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 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。