Skip to content

fix: seed --settings into app's own file, not device settings.txt - #2

Merged
bombsimon merged 1 commit into
mainfrom
fix/screenshot-warn
Aug 31, 2026
Merged

fix: seed --settings into app's own file, not device settings.txt#2
bombsimon merged 1 commit into
mainfrom
fix/screenshot-warn

Conversation

@bombsimon

Copy link
Copy Markdown
Member

--settings was merging the seed file into the device-root settings.txt (width/height/wifi), but most apps keep their own settings in a separate, relative-path file in their own directory (e.g. departures' settings.txt, clock's clocksettings.txt), so the seed was silently never read. Copy it verbatim into the app's own staged directory under its original filename instead, and warn when nothing in the app's own source references that filename. Also make the web UI's HTTP port ephemeral, like the frame server's, so it doesn't collide with another running matrixbox process.

`--settings` was merging the seed file into the device-root
settings.txt (width/height/wifi), but most apps keep their own
settings in a separate, relative-path file in their own directory
(e.g. departures' `settings.txt`, clock's `clocksettings.txt`), so the
seed was silently never read. Copy it verbatim into the app's own
staged directory under its original filename instead, and warn when
nothing in the app's own source references that filename. Also make
the web UI's HTTP port ephemeral, like the frame server's, so it
doesn't collide with another running `matrixbox` process.
@bombsimon
bombsimon merged commit 04044f2 into main Aug 31, 2026
1 check passed
@bombsimon
bombsimon deleted the fix/screenshot-warn branch August 31, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant