From e61596007cc07de1c9349aeccbbabfffb2b7ba05 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Wed, 14 Apr 2021 08:00:14 +0100 Subject: [PATCH] Correct batch file build Former-commit-id: 5f34d497ecc7e1f8fd276663d040f6c433e27fc4 [formerly 8d29091502272b1346ad86b76f61368e92ecc04a [formerly b9452211530a3d8536a01f03bd21792511eee293]] Former-commit-id: 4a09f0768c67023ba753b30f0ce6a92b8adb1d6e Former-commit-id: 7da4906d5fa5bfc4735b0ad82933a68d461153e6 --- scripts/Build-NWJS.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Build-NWJS.ps1 b/scripts/Build-NWJS.ps1 index f6084fda..620a0b0a 100644 --- a/scripts/Build-NWJS.ps1 +++ b/scripts/Build-NWJS.ps1 @@ -51,7 +51,7 @@ foreach ($build in $builds) { $launcherStub = ".\bld\nwjs\$build-$version\Start Kiwix JS Windows" $foldername = "kiwix_js_windows$sep$appBuild-$build" # Batch file - $batch = '@cd "' + $foldername + '"' + "`r`n" + '@start "Kiwix JS Windows" "nw.exe"' + "`r`n'" + $batch = '@cd "' + $foldername + '"' + "`r`n" + '@start "Kiwix JS Windows" "nw.exe"' + "`r`n" $batch > "$launcherStub.bat" # Shortcut $WshShell = New-Object -ComObject WScript.Shell