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
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
444933b004
commit
d3b232f0ee
@@ -0,0 +1,24 @@
|
||||
// made by cmake from the values the installer was built with. dont edit the
|
||||
// copy in the build folder, it gets written over.
|
||||
#pragma once
|
||||
|
||||
// what people see: the window, the shortcut, the folder, "installed apps"
|
||||
#define GARAGE_APP_NAME L"@GARAGE_APP_NAME_C@"
|
||||
|
||||
// the key of the uninstall entry, and the folder under %LOCALAPPDATA% that
|
||||
// downloads go to when the install itself is read only
|
||||
#define GARAGE_APP_ID L"@GARAGE_APP_ID_C@"
|
||||
|
||||
#define GARAGE_PROJECT_ID L"@GARAGE_PROJECT_ID_C@"
|
||||
#define GARAGE_API_BASE L"@GARAGE_API_BASE_C@"
|
||||
|
||||
// the apps exe inside a build. the stub goes in root under the same name
|
||||
#define GARAGE_EXE_NAME L"@GARAGE_EXE_NAME_C@"
|
||||
|
||||
#define GARAGE_PUBLISHER L"@GARAGE_PUBLISHER_C@"
|
||||
|
||||
// 1 is "everyone on this pc" (program files), 0 is "just me"
|
||||
#define GARAGE_DEFAULT_EVERYONE @GARAGE_DEFAULT_EVERYONE_C@
|
||||
// 0 never asks and goes with the default
|
||||
#define GARAGE_SHOW_CHOICE @GARAGE_SHOW_CHOICE_C@
|
||||
#define GARAGE_DESKTOP_SHORTCUT @GARAGE_DESKTOP_SHORTCUT_C@
|
||||
Reference in New Issue
Block a user