Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit
Swift apple-silicond3dmetaldxmtdxvkgame-porting-toolkitgptkmac-gamingmacosmetalfxrosetta-2steamsteam-playwinewinecx
fix(run): name the wineserver folder exactly for 64-bit inodes
kevicebryan646607ac6759
diff --git a/dylib/feats/compat_run.sh b/dylib/feats/compat_run.shindex 28e064d..e5367fe 100755--- a/dylib/feats/compat_run.sh+++ b/dylib/feats/compat_run.sh@@ -1903,7 +1903,7 @@ prefix_server_dir() {# Callers lsof and kill -9 whatever is open under this path: refuse a link or a folder# another macOS user planted in the shared /tmp.for owned in "/tmp/.wine-$(id -u)" \- "/tmp/.wine-$(id -u)/server-$(printf '%s' "$ids" | awk -F- '{printf "%x-%x", $1, $2}')"; do+ "/tmp/.wine-$(id -u)/server-$(printf '%x-%x' "${ids%-*}" "${ids#*-}")"; do[ ! -L "$owned" ] || return 1[ ! -e "$owned" ] || [ "$(stat -f %u "$owned" 2>/dev/null)" = "$(id -u)" ] || return 1done