Settings dialog, per-program install defaults, Options after install; Update only when needed

This commit is contained in:
sarah committed 2026-10-07 21:47:15 +02:00
1 parent 7018d57dbc
commit 08c9071b48
8 files changed
+360 -30

No files matched your search

+20 -4
View File
@@ -42,10 +42,24 @@ HideWindowTitleBar = false
Each program's own `~/.config/SaraSuite/<Program>/Config.toml` has the same three keys plus
`UseSharedSettings` (default `true`). With it on, the program reads the shared file; with it
off, it uses its own values instead. SaraFem edits both in its Settings (the SaraSuite tab
for the shared file, the General tab for its own); for SaraSuite itself, edit its
`Config.toml` directly. Whichever program starts first creates the shared file from its own
values.
off, it uses its own values instead. Both SaraSuite (the gear button, Shared and SaraSuite
tabs) and SaraFem (its Settings, SaraSuite and General tabs) can edit them. Whichever program
starts first creates the shared file from its own values.
## SaraSuite's own settings
The gear button also holds the git host and, in one tab per program, what that program's
install dialog starts with: which option boxes are ticked and the default answers (e.g.
SaraSortd's root folder). They're stored in `~/.config/SaraSuite/SaraSuite/Config.toml` as
`[OptionDefaults.<Program>]` and `[AnswerDefaults.<Program>]`, and override the manifest's
defaults.
## Changing options after installing
Installed programs with options (e.g. SaraFem's file picker) get an **Options** button. Turning
an option off takes out what it placed and puts back any file it had replaced; turning it on
places it. It reapplies the installed commit, so the program itself isn't updated. The
**Update** button only shows up when there's an update (or a broken install to repair).
## Running and building
@@ -60,6 +74,8 @@ values.
SaraSuite-x86_64.AppImage list
SaraSuite-x86_64.AppImage install SaraSortd --set RootDir=~/Sorting --option Autostart=on
SaraSuite-x86_64.AppImage update SaraSortd
SaraSuite-x86_64.AppImage options SaraFem # list them
SaraSuite-x86_64.AppImage options SaraFem --option FilePicker=off
SaraSuite-x86_64.AppImage remove SaraSortd [--configs] [--keep-runtime]
```