Skip to content

Commit 7f8b341

Browse files
committed
fix(apps,launch): remove _sandbox_z_drive from install_app and launch_external_exe
Installer paths (e.g. /home/.../.cache/wine-installers/GOG_Galaxy.exe) are absolute Linux paths that Wine resolves via Z:→/. Sandboxing Z: before the installer runs redirects Z: to an empty directory, so msiexec and proton-run can no longer find the installer file — hence all launchers failing with 'wine: could not open working directory' and the exe-not-found error. _sandbox_z_drive belongs only in launch_app, where the launcher exe is inside the prefix (C:) and does not need Z: access, and where the GOG disk-space false-positive originates.
1 parent 4b619ea commit 7f8b341

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

lib/apps.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ install_app() {
2929
unset PROTON_LOG PROTON_LOG_DIR
3030
mkdir -p "$WINE_DIR/steam-root"
3131
mkdir -p "$WINEPREFIX"
32-
_sandbox_z_drive
3332
_map_external_drives
3433

3534
# First run builds the prefix (copies thousands of DLLs) before the installer

lib/launch.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ launch_external_exe() {
116116
export PROTON_LOG_DIR="$WINE_DIR"
117117
mkdir -p "$WINE_DIR/steam-root"
118118
mkdir -p "$WINEPREFIX"
119-
_sandbox_z_drive
120119
"$PROTON_DIR/proton" run "$exe_path" &
121120
else
122121
print_warning "Proton not available, using Wine fallback"

0 commit comments

Comments
 (0)