Repository navigation
Ship the Mac's app hooks and update takeover check for the step 6 seam - #636
Merged
Merged
Conversation
Upstream's step 6 dispatches post-install and pre-remove around browser and Steam installs, and asks the platform's boot package before an update takes over files no package owns. omarchy-mac now answers the app hooks as quattro-upstream behaves today (decode flags for a new browser; Steam's FEX launcher, its preparation and its removal), and omarchy-mac-boot answers the takeover with the paths the runtime refuses inline on a Mac.
maralcbr
changed the base branch from
mac/103-widevine-steam-fex
to
quattro-upstream
September 27, 2026 15:43
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.
Stacked on #634; retarget to
quattro-upstreamonce it merges.Upstream omacom#13362 step 6 adds three dispatch operations the Mac packages must ship before it lands (contract in its
docs/lifecycle-dispatch.md). This adds them, reproducing what quattro-upstream does today:post-install <app>(as the user): a Chromium-family browser (chromium chrome edge brave brave-origin) gets the Mac user setup again, so its fresh flags file turns hardware decode off;steamgets its FEX launcher throughsudo(omarchy-mac'ssteam-launcher) andomarchy-launch-steam --prepare; other apps nothing.pre-remove <app>(as the user):steamdropsomarchy-steam-fex(it depends on Steam), the desktop entry the launcher wrote (unless the user changed it) and~/.local/share/fex-steam, which upstream's remover no longer deletes.update-takeover <path>...(root, read-only, required on Apple): refuses the whole takeover when any path is one quattro-upstream'somarchy-update-system-pkgs-when-conflictedrefuses inline on a Mac (boot chain, initramfs, pacman configuration and the x86 memory-stack files); anything else may go. Same list, same message.~/.configas well as$XDG_CONFIG_HOME(installers write~/.config; step 6's dispatcher passesXDG_CONFIG_HOME).quattro-upstream's runtime doesn't call these yet (its dispatcher predates step 6); they ship now so the held re-pins (omacom/omarchy-pkgs#672, #673) carry them.
Tests:
packages/omarchy-mac/test/app-hooks-test.sh,boot/test/mac-update-takeover-test.sh; package suite 76/76, boot suite passes.Debated (FEX data, XDG flags, sudo failure test fixed) and reviewed (platform re-check in the Steam hooks fixed); no blockers.