From 3e3f7ae0625df1328fa8b9e5bedbde58b1763355 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 13 Mar 2024 09:38:02 +0100 Subject: [PATCH] Ensure dependencies are installed --- scripts/Windows/Software/winget/Install.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Windows/Software/winget/Install.ps1 b/scripts/Windows/Software/winget/Install.ps1 index 109dd664..2bf30222 100644 --- a/scripts/Windows/Software/winget/Install.ps1 +++ b/scripts/Windows/Software/winget/Install.ps1 @@ -6,6 +6,7 @@ function Install-Winget { $file = New-TemporaryFile; $file = Rename-Item $file "$file.msixbundle"; Invoke-WebRequest "$downloadLink" -OutFile "$file"; + choco install -y winget; Add-AppxPackage "$file"; Remove-Item $file; }