Move the platform detector to omarchy-settings with the guard
The settings package's platform guard runs omarchy-hw-platform before the omarchy runtime is installed. omarchy leaves the detector out of its bin/ loop and settings ships it, with the /usr/share/omarchy/bin link the Apple predicate and the CLI router use, whenever the source has it.
This commit is contained in:
1 parent
00fac82ad3
commit
0a65168b09
4 files changed
+26
-8
No files matched your search
@@ -110,14 +110,15 @@ package() {
|
||||
|
||||
# Runtime binaries — ship everything in bin/ except the debug helpers
|
||||
# that ship from omarchy-settings (needed before omarchy is installed,
|
||||
# e.g. on the ISO live env).
|
||||
# e.g. on the ISO live env), and the platform detector, which the settings
|
||||
# package's pacman platform guard runs before omarchy is installed.
|
||||
install -d "$pkgdir/usr/bin" "$pkgdir/usr/share/omarchy/bin"
|
||||
for bin in bin/*; do
|
||||
[[ -f $bin ]] || continue
|
||||
local base
|
||||
base=$(basename "$bin")
|
||||
case "$base" in
|
||||
omarchy-debug|omarchy-debug-idle|omarchy-upload-log)
|
||||
omarchy-debug|omarchy-debug-idle|omarchy-upload-log|omarchy-hw-platform)
|
||||
continue
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in new issue
Block a user