Repository navigation
hermes-desktop: support older runtimes returning three launch options - #1224
Open
ctrlaltjosh wants to merge 1 commit into
Open
ctrlaltjosh wants to merge 1 commit into
ctrlaltjosh wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrading
hermes-desktopto2026.9.7-5leaves Hermes Desktop unable to open when the existing runtime's_desktop_launch_options()returns three values. The launcher still requires at least four and exits before starting Electron:The runtime installed by the
2026.8.18package (e624e9fde5) returns(flags, disable_gpu, password_store)and can survive subsequent package upgrades. This is the remaining older-runtime case documented in omacom/omarchy#13866 (comment). #718 handled the later five-value return format but retained the four-value minimum.Unpack the three shared settings and read Ozone and renderer accessibility only when present, retaining their existing defaults otherwise. Extend
runtime-test.pyto cover three-value helpers with defaults, configured flags/GPU/password store, explicit environment overrides, URL forwarding, and the packaged-app fallback. Existing four- and five-value tests continue to pass. Bumppkgrelto 6 and regenerate source checksums withupdpkgsums.Validation:
runtime-test.pypasses using the relevant source files extracted from the pinnedv2026.9.7archive, including the existing namespace sandbox and updater-gate checks.tests/package-metadata.sh,tests/pinned-sources.sh, andtests/fast-ring-check.shpass.git diff --checkpass.e624e9fde5: Hermes opens and connects to its existing backend.The full Electron package build was not run locally; package CI still needs to build it.