diff --git a/gow.json b/gow.json index 2bea3125c7..9cf5498212 100644 --- a/gow.json +++ b/gow.json @@ -8,8 +8,10 @@ "url": "https://github.com/bmatzelle/gow/releases", "re": "Gow ([0-9\\.]+)" }, - "pre_install": "echo \"@cscript //NoLogo \"\"$dir\\bin\\gow.vbs\"\" %1\" > \"$dir\\bin\\gow.bat\" ", - "bin": [ + "pre_install": " + \"@cscript //NoLogo \"\"$dir\\bin\\gow.vbs\"\" %1\" | Set-Content -force \"$dir\\bin\\gow.bat\" + ", + "bin": [ "bin\\awk.exe", "bin\\basename.exe", "bin\\bash.exe",