Files
omarchy-pkgs/pkgbuilds/hermes-desktop/hermes-desktop.desktop
T
Omabot 4ebb07b267 Fix what the review found in the desktop package
Pin the build stamp. write-build-stamp.mjs resolves the commit the app pins
its first-launch bootstrap to, preferring $GITHUB_SHA and otherwise running
`git rev-parse`. That fallback is wrong under makepkg: the build happens
inside this repository, so git ascends out of srcdir and stamps the app with
an omarchy-pkgs commit that means nothing upstream. Confirmed by rebuilding --
the stamp now reads the tag's own commit rather than this repo's HEAD.

Ship upstream's MIT licence. The package declares MIT and was installing only
Electron's licence text.

Repair a drifted CLI before launching rather than only a missing one. `mise
up` can leave Hermes rebuilt against the system Python, and a stub can be
there but cold; either way the wrapper's own repair takes minutes while the
app allows 15 seconds before bootstrapping its own copy. Running the installer
unconditionally costs nothing when Hermes is healthy.

Register the hermes:// scheme. The desktop entry took %U while declaring no
MimeType, so the scheme electron-builder configures went unhandled.
2026-08-19 03:08:40 -07:00

15 lines
332 B
Desktop File

[Desktop Entry]
Version=1.0
Type=Application
Name=Hermes
GenericName=AI Agent
Comment=The self-improving AI agent that grows with you
Exec=hermes-desktop %U
Icon=hermes-desktop
Terminal=false
Categories=Development;
MimeType=x-scheme-handler/hermes;
Keywords=ai;agent;assistant;hermes;nous;
StartupNotify=true
StartupWMClass=Hermes