diff --git a/scripts/Windows/Collections/Personal.ps1 b/scripts/Windows/Collections/Personal.ps1 index 0416f184..2010f31e 100644 --- a/scripts/Windows/Collections/Personal.ps1 +++ b/scripts/Windows/Collections/Personal.ps1 @@ -84,11 +84,12 @@ function Restore-PersonalApps([Context] $context) { krita ` mremoteng ` obs-studio ` - openvpn ` - ubiquiti-unifi-controller; + openvpn; winget install --accept-source-agreements --accept-package-agreements -e --id AppWork.JDownloader + . "$PSScriptRoot/../Software/Ubiquiti UniFi Controller/Install.ps1"; + # Media choco install -y k-litecodecpackmega; winget install --accept-source-agreements --accept-package-agreements -e --id Ytmdesktop.Ytmdesktop diff --git a/scripts/Windows/Software/Ubiquiti UniFi Controller/Install.ps1 b/scripts/Windows/Software/Ubiquiti UniFi Controller/Install.ps1 new file mode 100644 index 00000000..4eb1dd53 --- /dev/null +++ b/scripts/Windows/Software/Ubiquiti UniFi Controller/Install.ps1 @@ -0,0 +1,9 @@ +#!/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";