Skip to content

After installing, store a setting that forbids the use of pre-built archives#205

Merged
phenaproxima merged 19 commits into
mainfrom
no-archive
Feb 5, 2026
Merged

After installing, store a setting that forbids the use of pre-built archives#205
phenaproxima merged 19 commits into
mainfrom
no-archive

Conversation

@phenaproxima

Copy link
Copy Markdown
Collaborator

Description

This is another attempt to fix #203, after it broke everyone in v1.0.6 and was subsequently reverted in v1.0.7.

I think what we've learned (the hard way) is that the application itself, and its internal resources, can never be treated as writable, full stop. Any permanent state change (like "never use a pre-built archive") needs to be stored in the app's user data directory.

So this uses the electron-store library to easily get and set that state information. It also adds a test which proves that using the archive once means it will never be used again.

AI Disclosure

No AI was used here.

@phenaproxima phenaproxima merged commit be12edd into main Feb 5, 2026
2 checks passed
@phenaproxima phenaproxima deleted the no-archive branch February 5, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant