From 86aa29b66c659d67c9aa50752772d5ceaac11e15 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 13 Mar 2024 21:56:48 +0100 Subject: [PATCH] Fix installation of `winget` --- scripts/Windows/OS/InitialBoot.ps1 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/Windows/OS/InitialBoot.ps1 b/scripts/Windows/OS/InitialBoot.ps1 index f28f82c2c..0529cc343 100644 --- a/scripts/Windows/OS/InitialBoot.ps1 +++ b/scripts/Windows/OS/InitialBoot.ps1 @@ -1,5 +1,3 @@ -. "$PSScriptRoot/../Software/winget/Install.ps1"; - [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')); @@ -12,4 +10,4 @@ refreshenv; Set-Location C:/; git clone https://git.nuth.ch/manuth/PortValhalla.git; Set-Location PortValhalla; -Install-Winget; +pwsh -Command ". ./scripts/Windows/Software/winget/install.ps1; Install-Winget";