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

10 lines
455 B
PowerShell

#!/bin/pwsh
$ahkID = "AutoHotkey.AutoHotkey";
$ahk1ID = "Lexikos.AutoHotkey";
winget unintsall --accept-source-agreements -e --id "$ahkID";
winget install --accept-source-agreements --accept-package-agreements -e --id "$ahk1ID";
choco install -y temurin11jre;
choco install -y ubiquiti-unifi-controller;
winget unintsall --accept-source-agreements -e --id "$ahk1ID";
winget install --accept-source-agreements --accept-package-agreements -e --id "$ahkID";