Add console output to UniFi installer
This commit is contained in:
parent
3dc8045cde
commit
a2a277a15a
1 changed files with 8 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue