From a2a277a15acae216135bd302daa2b42b9c595fca Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 18 Jul 2023 20:26:27 +0200 Subject: [PATCH] Add console output to UniFi installer --- .../Software/Ubiquiti UniFi Controller/Install.ps1 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/Windows/Software/Ubiquiti UniFi Controller/Install.ps1 b/scripts/Windows/Software/Ubiquiti UniFi Controller/Install.ps1 index aada48cc..1535f3bd 100644 --- a/scripts/Windows/Software/Ubiquiti UniFi Controller/Install.ps1 +++ b/scripts/Windows/Software/Ubiquiti UniFi Controller/Install.ps1 @@ -1,8 +1,16 @@ #!/bin/pwsh +Write-Host "Installing UniFi Controller"; +Write-Information "Downgrading AutoHotkey"; $ahkID = "AutoHotkey.AutoHotkey"; winget uninstall --accept-source-agreements -e --id "$ahkID"; winget install --accept-source-agreements --accept-package-agreements -e --id "$ahkID" --version "1.1.37.00"; + +Write-Information "Installing JRE... eww..."; choco install -y temurin11jre; + +Write-Information "Installing UniFi Controller"; choco install -y ubiquiti-unifi-controller --ignore-dependencies; + +Write-Information "Upgrading AutoHotkey"; winget uninstall --accept-source-agreements -e --id "$ahkID"; winget install --accept-source-agreements --accept-package-agreements -e --id "$ahkID";