Make root compatible with remote call

Former-commit-id: d32badbc345fea80ba953d9df78d3c8acd5de88f [formerly 7859396c8be39e78b894cf62fb61897ff29af30d [formerly 6465c83ca814c982c83373ed9cf3a8d8062a0ed2]]
Former-commit-id: 1f29e8de8d05b0b7ebc2867b73bb87f15b0fa183
Former-commit-id: 69dad7d641fb732dc5b0edfd521b4613b70d0e1d
This commit is contained in:
Jaifroid 2021-05-20 17:37:47 +01:00
parent 42692c2a66
commit d5ed198a2a

View File

@ -54,7 +54,7 @@ foreach ($build in $builds) {
md $archiveFolder md $archiveFolder
cp "archives\$ZIMbase*.*", "archives\README.md" $archiveFolder cp "archives\$ZIMbase*.*", "archives\README.md" $archiveFolder
"Creating launchers..." "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" $foldername = "kiwix_js_windows$sep$appBuild-$build"
# Batch file # 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"