From 7d97efe563789a9697e42419fb42fadde23dd5cb Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 30 Jul 2023 14:33:02 +0200 Subject: [PATCH] Install `7z` command if necessary --- scripts/Windows/Scripts/Prerequisites.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/Windows/Scripts/Prerequisites.ps1 b/scripts/Windows/Scripts/Prerequisites.ps1 index 1d250d33..83111d2e 100644 --- a/scripts/Windows/Scripts/Prerequisites.ps1 +++ b/scripts/Windows/Scripts/Prerequisites.ps1 @@ -26,3 +26,7 @@ foreach ($nativeModule in @("PinnedItem")) { powershell -c Install-Module -Force "$nativeModule"; } } + +if (-not (Get-Command 7z)) { + choco install -y 7zip.portable; +}