From d5ed198a2a956d86d930596e1587c87df3dcb93f Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Thu, 20 May 2021 17:37:47 +0100 Subject: [PATCH] Make root compatible with remote call Former-commit-id: d32badbc345fea80ba953d9df78d3c8acd5de88f [formerly 7859396c8be39e78b894cf62fb61897ff29af30d [formerly 6465c83ca814c982c83373ed9cf3a8d8062a0ed2]] Former-commit-id: 1f29e8de8d05b0b7ebc2867b73bb87f15b0fa183 Former-commit-id: 69dad7d641fb732dc5b0edfd521b4613b70d0e1d --- 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 1000a59a..a76dce73 100644 --- a/scripts/Build-NWJS.ps1 +++ b/scripts/Build-NWJS.ps1 @@ -54,7 +54,7 @@ foreach ($build in $builds) { md $archiveFolder cp "archives\$ZIMbase*.*", "archives\README.md" $archiveFolder "Creating launchers..." - $launcherStub = ".\bld\nwjs\$build-$version\Start Kiwix JS Windows" + $launcherStub = $PSScriptRoot -replace 'scripts.*$', "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"