Update the build script to put the Orca extension into place.

Still need to do the symlinking yourself though.
This commit is contained in:
hjozwiak committed 2026-10-31 10:03:30 -04:00
1 parent 044c1063d7
commit e920543dcb
4 files changed
+213 -11

No files matched your search

+17 -1
View File
@@ -104,7 +104,15 @@ Use `./build.sh -r` to remove the local installation, or
`sudo ./build.sh -r` to remove the system installation. If a user has no local
installation but a system installation exists, the script requests the latter
command without running sudo itself. Removal deletes only the five helper
files and leaves other directory contents untouched.
files and the Orca extension files described below, and leaves other directory
contents untouched.
When Orca 51 or later is installed, the script also installs the
[Orca extension](orca/README.md) files to
`$prefix/share/wine-access/orca/wine_access/` and prints the commands each
user runs to link that copy into their Orca extension directory and approve
it. Without a suitable Orca, the extension is skipped and only the helper is
installed; rerun the script after installing Orca to add it.
Alternative build and install locations may be supplied as positional
arguments. The second argument is the installation prefix, not the final
@@ -341,6 +349,14 @@ What a supervisor must get right for Proton prefixes:
reader's own bus address, not the game's. The game's `DISPLAY` and the
server's sync mode (`WINEESYNC`/`WINEFSYNC`) must match the game's;
copy them from a game process in the same prefix.
- **Use a helper path the container's wineserver can see.** That server
resolves unix paths in the container, whose `/usr` is the Steam
Runtime, so a system-installed `/usr/libexec/wine-access` helper cannot
be opened (`ShellExecuteEx failed: File not found` in the helper log).
The home directory is bound at the same path in both namespaces: a
user-local installation under `~/.local/libexec` works as-is, and the
Orca extension stages a copy of a system installation under
`~/.local/state/orca-wine-access/helper/` for such prefixes.
The Orca extension in this repository implements all of this. Cthulhu's
supervisor needs the equivalent loader resolution in Cthulhu itself; until