Track one-time setup with completion markers

This commit is contained in:
David Heinemeier Hansson
2026-07-16 21:53:15 -07:00
parent 7b824b6e1b
commit e82df1d4d0
9 changed files with 162 additions and 18 deletions
+7 -1
View File
@@ -2201,7 +2201,13 @@ if command -v xdg-mime >/dev/null 2>&1; then
xdg-mime default HEY.desktop x-scheme-handler/mailto || true
fi
touch "$state_dir/finalize-user.done"
if [[ -f $state_dir/first-run-user.done ]]; then
"$root/bin/omarchy-done" mark first-run-user
rm -f "$state_dir/first-run-user.done"
fi
"$root/bin/omarchy-done" mark finalize-user
rm -f "$state_dir/finalize-user.done"
USER_SETUP
}