bugfix: fix filepath when calling from local dir

This commit is contained in:
Baipyrus 2024-11-24 22:12:46 +01:00
parent c5c7703e00
commit 7f7fc0a8ba
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ function WingetInstall
# Start admin process, import this script, run 'InstallPackages' function
Start-Process powershell.exe -Verb RunAs -Wait `
-ArgumentList "-ExecutionPolicy", "Bypass", `
"-C", "'Import-Module ./winget.psm1; InstallWinget'"
"-C", "'Import-Module ./util/winget.psm1; InstallWinget'"
}
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-Process powershell.exe -Verb RunAs -Wait `
-ArgumentList "-ExecutionPolicy", "Bypass", `
"-C", "'Import-Module ./wsl.psm1; InstallWSL'"
"-C", "'Import-Module ./util/wsl.psm1; InstallWSL'"
}
wsl.exe --install -d Ubuntu