Skip to content

Commit

Permalink
Restore order for pwsh
Browse files Browse the repository at this point in the history
NLS
  • Loading branch information
PCigales authored Feb 4, 2024
1 parent 2d6d203 commit 2adaa8b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kml-andro.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ chcp 1252 >nul
echo.
if exist "%~dp0kmlz-andro.ps1" (
for %%p in (pwsh.exe) do set kmlps="%%~$PATH:p"
if !kmlps!=="" set kmlps=powershell
if !kmlps!=="" (set kmlps=powershell) else (set DOTNET_SYSTEM_GLOBALIZATION_USENLS=1)
!kmlps! -executionpolicy bypass -file "%~dp0kmlz-andro.ps1" "%kmlrepscan%\" "%kmlrepdest%\" l
if !ERRORLEVEL! NEQ 0 (
echo.
Expand Down
2 changes: 1 addition & 1 deletion kml.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set kmlviewer=%kmlrepdest%viewer.htm
if not exist "%kmlviewer%" copy "%~dp0viewer.htm" "%kmlviewer%">nul
if exist "%~dp0kmlz.ps1" (
for %%p in (pwsh.exe) do set kmlps="%%~$PATH:p"
if !kmlps!=="" set kmlps=powershell
if !kmlps!=="" (set kmlps=powershell) else (set DOTNET_SYSTEM_GLOBALIZATION_USENLS=1)
!kmlps! -executionpolicy bypass -file "%~dp0kmlz.ps1" "%kmlrepscan%\" "%kmlrepdest%\" l
if !ERRORLEVEL! NEQ 0 (
echo.
Expand Down
2 changes: 1 addition & 1 deletion kmz-andro.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ chcp 1252 >nul
echo.
if exist "%~dp0kmlz-andro.ps1" (
for %%p in (pwsh.exe) do set kmlps="%%~$PATH:p"
if !kmlps!=="" set kmlps=powershell
if !kmlps!=="" (set kmlps=powershell) else (set DOTNET_SYSTEM_GLOBALIZATION_USENLS=1)
!kmlps! -executionpolicy bypass -file "%~dp0kmlz-andro.ps1" "%kmlrepscan%\" "%kmlrepdest%\" z
if !ERRORLEVEL! NEQ 0 (
echo.
Expand Down
2 changes: 1 addition & 1 deletion kmz.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set kmlviewer=%kmlrepdest%viewer.htm
if not exist "%kmlviewer%" copy "%~dp0viewer.htm" "%kmlviewer%">nul
if exist "%~dp0kmlz.ps1" (
for %%p in (pwsh.exe) do set kmlps="%%~$PATH:p"
if !kmlps!=="" set kmlps=powershell
if !kmlps!=="" (set kmlps=powershell) else (set DOTNET_SYSTEM_GLOBALIZATION_USENLS=1)
!kmlps! -executionpolicy bypass -file "%~dp0kmlz.ps1" "%kmlrepscan%\" "%kmlrepdest%\" z
if !ERRORLEVEL! NEQ 0 (
echo.
Expand Down

0 comments on commit 2adaa8b

Please sign in to comment.