mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-12-25 10:51:46 +00:00
bugfix: fix filepath when calling from local dir
This commit is contained in:
parent
c5c7703e00
commit
7f7fc0a8ba
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user