Conversation
taukakao
left a comment
There was a problem hiding this comment.
How are we gonna make sure that first-setup runs on login when the startup file was deleted for most users?
Maybe we should rather use a user systemd service in /usr/lib to run first-setup?
Thanks for the suggestion! You're right that a system-wide approach would be more robust than a per-user one. But since |
|
I think both are about as conventional by now but the xdg folder is fine by me. |
Resolves #410.
This PR adds an update mode, which is automatically activated when
~/.local/share/vanilla-first-setup/seen_app_ids.jsonexists.In update mode, the user is prompted to:
apps.jsoninstall lists, that are not in theseen_app_ids.jsoninstall list, and not already installed.apps.jsondeprecated list, that are not in theseen_app_ids.jsonuninstall list, and are already installed.The SHA-256 hash of
apps.jsonis also stored inseen_app_ids.json, so First Setup runs only whenapps.jsonhas changed.