From 0384dbfc3763151f8ed8fa27e57cc8e7de9de2ea Mon Sep 17 00:00:00 2001 From: partisan Date: Mon, 6 Jan 2025 22:13:45 +0100 Subject: [PATCH] added windows compatability --- spitfire/patch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spitfire/patch.go b/spitfire/patch.go index 8a6f972..c767e38 100644 --- a/spitfire/patch.go +++ b/spitfire/patch.go @@ -57,7 +57,7 @@ func ApplyPatches(sourcePath string, patchesRepo string, patchesPath string, pat } // Apply the patches using `run.sh` - applyCmd := exec.Command("./run.sh", "--path", sourcePath, "--patches", fullPatchesPath) + applyCmd := exec.Command("go", "run", ".", "--path", sourcePath, "--patches", fullPatchesPath) applyCmd.Dir = patchesCloneDir // Run from the patches directory applyCmd.Dir = patchesCloneDir // Run from the patches directory applyCmd.Stdout = os.Stdout applyCmd.Stderr = os.Stderr