File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 55# TODO: Check OS type and ensure running on windows
66
77$account = " patevs"
8- $repo = " pwsh -profile"
8+ $repo = " powershell -profile"
99$branch = " master"
1010
11- $pwshProfileTempDir = Join-Path $env: TEMP " pwsh -profile"
11+ $pwshProfileTempDir = Join-Path $env: TEMP " powershell -profile"
1212if (! [System.IO.Directory ]::Exists($pwshProfileTempDir )) {[System.IO.Directory ]::CreateDirectory($pwshProfileTempDir )}
13- $sourceFile = Join-Path $pwshProfileTempDir " pwsh -profile.zip"
13+ $sourceFile = Join-Path $pwshProfileTempDir " powershell -profile.zip"
1414$pwshProfileInstallDir = Join-Path $pwshProfileTempDir " $repo -$branch "
1515
1616
1717function Download-File {
1818 param (
19- [string ]$url ,
20- [string ]$file
19+ [string ]$url ,
20+ [string ]$file
2121 )
2222 Write-Host " Downloading $url to $file "
2323 [Net.ServicePointManager ]::SecurityProtocol = [Net.SecurityProtocolType ]::Tls12
You can’t perform that action at this time.
0 commit comments