mirror of
https://git.srhtnin.garden/sarah/SaraSuite.git
synced 2026-10-15 02:33:17 +02:00
Self-updates and program list from the repo
This commit is contained in:
1 parent
d9da8438c2
commit
e4272bd606
9 files changed
+416
-15
No files matched your search
@@ -30,6 +30,23 @@ GitHost = "https://git.srhtnin.garden/sarah"
|
||||
|
||||
The only thing a program needs from the system is `python3` (for its venv).
|
||||
|
||||
## Updates
|
||||
|
||||
- **Programs** update from their own repos (see Sources above).
|
||||
- **The program list** (`Programs/`: manifests, templates, icons) is fetched from this repo
|
||||
whenever it has a new commit, so adding a program or fixing a recipe only takes a push. It's
|
||||
cached in `~/.cache/SaraSuite/Catalog/`; the AppImage's bundled copy is the fallback. Running
|
||||
from source always uses the local `Programs/`.
|
||||
- **SaraSuite itself** checks this repo's latest Gitea release. When it's newer than its own
|
||||
`AppVersion`, an "Update SaraSuite" button downloads the new AppImage, swaps it in place (same
|
||||
path, so the app menu entry keeps working) and restarts. From a terminal:
|
||||
`SaraSuite-x86_64.AppImage self-update`.
|
||||
|
||||
To publish a new SaraSuite: bump `AppVersion` in `Core.py`, commit and push, then run
|
||||
`Packaging/Release.py` (optionally `--notes "..."`). It builds the AppImage, creates the release
|
||||
`v<AppVersion>` with the AppImage attached, and copies it to the Shared folder. The Gitea token
|
||||
comes from git's credential store, the same one `git push` uses.
|
||||
|
||||
## Shared settings
|
||||
|
||||
Settings every SaraSuite program shares live in `~/.config/SaraSuite/Config.toml`:
|
||||
|
||||
Reference in new issue
Block a user