From: AJ ONeal Date: Sun, 28 Jun 2020 12:58:02 +0000 (+0000) Subject: use unquote backslash paths for windows X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=94d013649b9cf13dcb690f583bc8cbd1fc716d41;p=webi-installers%2F.git use unquote backslash paths for windows --- diff --git a/_webi/bootstrap.ps1 b/_webi/bootstrap.ps1 index c01089b..020d6b7 100644 --- a/_webi/bootstrap.ps1 +++ b/_webi/bootstrap.ps1 @@ -36,7 +36,8 @@ popd & .\.local\bin\webi.bat {{ exename }} # Run pathman to set up the folder -& "$Env:USERPROFILE\.local\bin\pathman.exe" add "$Env:USERPROFILE\.local\.bin" +#& "$Env:USERPROFILE\.local\bin\pathman.exe" add "$Env:USERPROFILE\.local\.bin" +& "$Env:USERPROFILE\.local\bin\pathman.exe" add .local\.bin # Done popd diff --git a/_webi/template.ps1 b/_webi/template.ps1 index dc0699d..e3f7278 100644 --- a/_webi/template.ps1 +++ b/_webi/template.ps1 @@ -32,7 +32,8 @@ if (!(Test-Path -Path .local\opt)) # {{ version }} # Run pathman to set up the folder -& "$Env:USERPROFILE\.local\bin\pathman.exe" add "$Env:USERPROFILE\.local\.bin" +#& "$Env:USERPROFILE\.local\bin\pathman.exe" add "$Env:USERPROFILE\.local\.bin" +& "$Env:USERPROFILE\.local\bin\pathman.exe" add .local\.bin {{ installer }}