Skip to content

Commit 21491da

Browse files
pzhlkj6612shmocz
authored andcommitted
feat: do not hardcode "python3" and script path
1 parent 4af15ec commit 21491da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/patch_gamemd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@ def prun(args, **kwargs):
288288

289289
def cmd_gamemd_patch():
290290
return [
291-
"python3",
292-
"./scripts/patch_gamemd.py",
291+
sys.executable,
292+
os.path.abspath(__file__),
293293
"-s",
294294
".p_text:0x00004d66:0x00b7a000:0x0047e000",
295295
"-s",

0 commit comments

Comments
 (0)