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): keep the rebuild lock file when checking whether the app holds it
kevicebryanb31529813af0
diff --git a/dylib/feats/compat_run.sh b/dylib/feats/compat_run.shindex e31f310..28e064d 100755--- a/dylib/feats/compat_run.sh+++ b/dylib/feats/compat_run.sh@@ -1133,7 +1133,7 @@ run_rebuild() {sleep 1waited=$((waited + 1))# Nothing holds the lock once the app is gone. The grace covers its startup.- if [ "$waited" -gt 30 ] && /usr/bin/lockf -s -t 0 "$rebuild_lock" true 2>/dev/null; then+ if [ "$waited" -gt 30 ] && /usr/bin/lockf -k -s -t 0 "$rebuild_lock" true 2>/dev/null; thensleep 2[ -f "$rebuild_exit" ] || return 1fi