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";