bugfix: remove escaped quotes

This commit is contained in:
Baipyrus 2024-11-24 22:32:47 +01:00
parent 7f7fc0a8ba
commit ff07ff7d17
3 changed files with 3 additions and 3 deletions

View File

@ -13,5 +13,5 @@ function ChocolateyInstall
# Start admin process, import this script, run 'InstallPackages' function # Start admin process, import this script, run 'InstallPackages' function
Start-Process powershell.exe -Verb RunAs -Wait ` Start-Process powershell.exe -Verb RunAs -Wait `
-ArgumentList "-ExecutionPolicy", "Bypass", ` -ArgumentList "-ExecutionPolicy", "Bypass", `
"-C", "'Import-Module ./util/chocolatey.psm1; InstallPackages'" "-C", "Import-Module ./util/chocolatey.psm1; InstallPackages"
} }

View File

@ -17,7 +17,7 @@ function WingetInstall
# Start admin process, import this script, run 'InstallPackages' function # Start admin process, import this script, run 'InstallPackages' function
Start-Process powershell.exe -Verb RunAs -Wait ` Start-Process powershell.exe -Verb RunAs -Wait `
-ArgumentList "-ExecutionPolicy", "Bypass", ` -ArgumentList "-ExecutionPolicy", "Bypass", `
"-C", "'Import-Module ./util/winget.psm1; InstallWinget'" "-C", "Import-Module ./util/winget.psm1; InstallWinget"
} }
winget.exe install -s winget --accept-source-agreements (Get-Content ./util/winget.list) winget.exe install -s winget --accept-source-agreements (Get-Content ./util/winget.list)

View File

@ -23,7 +23,7 @@ function WSLInstall
# Start admin process, import this script, run 'InstallPackages' function # Start admin process, import this script, run 'InstallPackages' function
Start-Process powershell.exe -Verb RunAs -Wait ` Start-Process powershell.exe -Verb RunAs -Wait `
-ArgumentList "-ExecutionPolicy", "Bypass", ` -ArgumentList "-ExecutionPolicy", "Bypass", `
"-C", "'Import-Module ./util/wsl.psm1; InstallWSL'" "-C", "Import-Module ./util/wsl.psm1; InstallWSL"
} }
wsl.exe --install -d Ubuntu wsl.exe --install -d Ubuntu