Add a script for installing UniFi

This commit is contained in:
Manuel Thalmann 2023-07-18 19:09:12 +02:00
parent 47d2a17228
commit 57745f91bf
2 changed files with 12 additions and 2 deletions

View file

@ -84,11 +84,12 @@ function Restore-PersonalApps([Context] $context) {
krita ` krita `
mremoteng ` mremoteng `
obs-studio ` obs-studio `
openvpn ` openvpn;
ubiquiti-unifi-controller;
winget install --accept-source-agreements --accept-package-agreements -e --id AppWork.JDownloader winget install --accept-source-agreements --accept-package-agreements -e --id AppWork.JDownloader
. "$PSScriptRoot/../Software/Ubiquiti UniFi Controller/Install.ps1";
# Media # Media
choco install -y k-litecodecpackmega; choco install -y k-litecodecpackmega;
winget install --accept-source-agreements --accept-package-agreements -e --id Ytmdesktop.Ytmdesktop winget install --accept-source-agreements --accept-package-agreements -e --id Ytmdesktop.Ytmdesktop

View file

@ -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";