From 615b66911ab6aed5ef64c3b0dd9fb705d2bb2fce Mon Sep 17 00:00:00 2001 From: Muffin Date: Fri, 6 Dec 2024 19:40:08 -0600 Subject: [PATCH] Fix JS patching --- patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch.py b/patch.py index dd3f7e3..7423c1c 100644 --- a/patch.py +++ b/patch.py @@ -11,7 +11,7 @@ with open(path, 'w') as f: f.write(contents) -for path in glob.glob('scratch-gui/build/js/*.js'): +for path in glob.glob('scratch-gui/build/**/*.js', recursive=True): print(f'Patching JS {path}') with open(path, 'r') as f: contents = f.read()