PortValhalla/scripts/Windows/Software/Ubiquiti UniFi Controller/Install.ps1

9 lines
443 B
PowerShell

#!/bin/pwsh
$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";
choco install -y temurin11jre;
choco install -y ubiquiti-unifi-controller;
winget uninstall --accept-source-agreements -e --id "$ahkID";
winget install --accept-source-agreements --accept-package-agreements -e --id "$ahkID";