Fix installation of winget

This commit is contained in:
Manuel Thalmann 2024-03-13 21:56:48 +01:00
parent 39ba5f63bc
commit 86aa29b66c

View file

@ -1,5 +1,3 @@
. "$PSScriptRoot/../Software/winget/Install.ps1";
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')); Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'));
@ -12,4 +10,4 @@ refreshenv;
Set-Location C:/; Set-Location C:/;
git clone https://git.nuth.ch/manuth/PortValhalla.git; git clone https://git.nuth.ch/manuth/PortValhalla.git;
Set-Location PortValhalla; Set-Location PortValhalla;
Install-Winget; pwsh -Command ". ./scripts/Windows/Software/winget/install.ps1; Install-Winget";