Files
Garage-SDKs/garage_updates/pubspec.yaml
T
ImBenjiandClaude Opus 5.5 d3b232f0ee feat(garage_updates): an auto updater for garage apps
Asks Garage for the newest release of a project, downloads it with resume,
checks the sha256, installs it beside the old one and restarts into it.
Splash on garage_ui, a native stub and a first time installer for windows,
bundle swap on mac, the system installer on android. No-op on web.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KHotisA4hV2xmuZsHTksFX
2026-10-12 06:37:02 +01:00

38 lines
900 B
YAML

name: garage_updates
description: "Auto updates for Garage apps — asks Garage for the newest release, downloads it with resume, checks the sha256, installs it beside the old one and restarts into it."
version: 0.1.0
publish_to: 'none'
environment:
sdk: ^3.10.0
flutter: ">=3.5.0"
dependencies:
flutter:
sdk: flutter
# the splash is drawn with the design system, nothing of its own
garage_ui:
path: ../garage_ui
# sha256 of the download, streamed off disk
crypto: ^3.0.6
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^6.0.0
flutter:
plugin:
platforms:
android:
package: net.imbenji.garage_updates
pluginClass: GarageUpdatesPlugin
# no channel on windows. ffiPlugin only so the host app's build pulls in
# windows/CMakeLists.txt, which is where the stub exe gets built
windows:
ffiPlugin: true