Skip to content

A desktop coding agent with free access to frontier models.

TypeScript

fix: linux install path checks

ogsamratfbaa1927ebe7
diff --git a/.github/workflows/linux-packages.yml b/.github/workflows/linux-packages.yml
index bb85be1d..008a99f0 100644
--- a/.github/workflows/linux-packages.yml
+++ b/.github/workflows/linux-packages.yml
@@ -117,9 +117,10 @@ jobs:
sudo apt-get install --yes "./apps/desktop/dist-electron/omnirush-linux-${{ matrix.deb_arch }}-$PACKAGE_VERSION.deb"
echo "launcher -> $(readlink -f /usr/bin/omnirush)"
file -L /usr/bin/omnirush | tee /dev/stderr | grep -q "${{ matrix.file_arch }}"
- target_sidecar="/opt/OmniRush.ai/resources/sidecars/opencode-${{ matrix.target }}"
+ install_dir=$(dirname "$(readlink -f /usr/bin/omnirush)")
+ target_sidecar="$install_dir/resources/sidecars/opencode-${{ matrix.target }}"
file -L "$target_sidecar" | tee /dev/stderr | grep -q "${{ matrix.file_arch }}"
- test ! -e /opt/OmniRush.ai/resources/sidecars/opencode
+ test ! -e "$install_dir/resources/sidecars/opencode"
# Still running when the timer fires (exit 124) = it started.
set +e
xvfb-run -a timeout 25 omnirush --no-sandbox > launch.log 2>&1
diff --git a/packaging/aur/README.md b/packaging/aur/README.md
index 4385791d..798055ce 100644
--- a/packaging/aur/README.md
+++ b/packaging/aur/README.md
@@ -14,7 +14,7 @@ sudo pacman -U https://github.com/omnirush-ai/omnirush-gui/releases/download/v<v
sudo pacman -U https://github.com/omnirush-ai/omnirush-gui/releases/download/v<version>/omnirush-linux-aarch64-<version>.pacman
```
-It installs the app under `/opt/OmniRush.ai`, like the `.deb`, and pacman pulls
+It installs the app under `/opt/omnirush.ai`, like the `.deb`, and pacman pulls
in the runtime dependencies (the list is `pacman.depends` in
`apps/desktop/electron-builder.base.yml`).