From 12e622200cd9fd6c4c5d4732c4282b4b5b887e37 Mon Sep 17 00:00:00 2001 From: SkillzNoLogic Date: Fri, 27 Nov 2026 19:47:50 +1100 Subject: [PATCH] Install the source runner so a clean checkout can build A fresh checkout has no earlier runner to keep, so the build took NotProton 1.2.6's prebuilt runner. That runner has no OnlineFix scan, the nested-scan patch could not apply, and build.sh stopped with "The NotProton runner is missing the nested OnlineFix scan" (CI fails on every build). notproton/dylib/feats/compat_run.sh is the prebuilt runner plus macSteam's fixes only, so install it as the payload runner. Co-Authored-By: Claude Opus 5.5 --- build.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build.sh b/build.sh index c7deca9..cbb7176 100755 --- a/build.sh +++ b/build.sh @@ -106,6 +106,15 @@ else fi fi [ -f "$PAYLOAD_DEST/notproton.dylib" ] || die "NotProton's components are incomplete (notproton.dylib missing)." +# The runner this source tree keeps is the prebuilt one plus macSteam's fixes (the +# whole-path launch, the OnlineFix scan and its nested search). A fresh checkout has +# no earlier runner to keep, and the patches below can't add the OnlineFix scan to +# the prebuilt runner, which has none, so install the source copy. +SOURCE_RUNNER="$NP_DIR/dylib/feats/compat_run.sh" +if [ -f "$SOURCE_RUNNER" ]; then + cp "$SOURCE_RUNNER" "$PAYLOAD_DEST/run" + chmod +x "$PAYLOAD_DEST/run" +fi # The payload folder is ignored in this repository, so the patch is what a fresh # checkout has. Applying it to an already-fixed runner is a no-op. RUNNER_PATCH="$ROOT/patches/notproton-run-whole-path.patch"