Install Hermes Desktop whenever Hermes is chosen as the default agent

Hermes is only ever installed through the app. Choosing it as the default agent used to stand aside for a hermes that worked but came from somewhere else, and to refuse one that predated seeded sessions; both left the machine on a Hermes that was not the app's, which is the one Omarchy prepares for in-app updates and hands the theme to. Now --check answers only for the app's own Hermes, and --now installs the app whatever answered to hermes before, saving the previous command aside as it always did for the app path. The desktop installer no longer adds the package itself, since the shared install does.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Spencer BullandClaude Fable 5.1 committed 2026-09-22 23:11:16 -05:00
1 parent 44b0f2a70f
commit 73a2b91cf5
6 files changed
+176 -141

No files matched your search

+1 -5
View File
@@ -10,11 +10,7 @@ if (( EUID == 0 )); then
exit 1
fi
# The package goes in here, before the runtime installer runs, because the
# installer stands aside for a Hermes the user set up themselves only while the
# app is absent. Asked for by name, the app needs the runtime it prepares.
echo "Installing Hermes Desktop..."
omarchy-pkg-add hermes-desktop
# The same install the default agent gets, plus opening the window.
omarchy-install-hermes-cli --now
echo "Opening Hermes Desktop..."