From 49dcf58f78c84b59021d785820817493e68ec446 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 18 Jul 2023 19:35:55 +0200 Subject: [PATCH] Fix non-functioning script --- .../Windows/Software/Ubiquiti UniFi Controller/Install.ps1 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/Windows/Software/Ubiquiti UniFi Controller/Install.ps1 b/scripts/Windows/Software/Ubiquiti UniFi Controller/Install.ps1 index 6827484a..2df15b26 100644 --- a/scripts/Windows/Software/Ubiquiti UniFi Controller/Install.ps1 +++ b/scripts/Windows/Software/Ubiquiti UniFi Controller/Install.ps1 @@ -1,9 +1,8 @@ #!/bin/pwsh $ahkID = "AutoHotkey.AutoHotkey"; -$ahk1ID = "Lexikos.AutoHotkey"; winget uninstall --accept-source-agreements -e --id "$ahkID"; -winget install --accept-source-agreements --accept-package-agreements -e --id "$ahk1ID"; +winget install --accept-source-agreements --accept-package-agreements -e --id "$ahkID" --version "1.1.37.01"; choco install -y temurin11jre; choco install -y ubiquiti-unifi-controller; -winget uninstall --accept-source-agreements -e --id "$ahk1ID"; +winget uninstall --accept-source-agreements -e --id "$ahkID"; winget install --accept-source-agreements --accept-package-agreements -e --id "$ahkID";