Fix non-functioning script

This commit is contained in:
Manuel Thalmann 2023-07-18 19:35:55 +02:00
parent 6726a7e425
commit 49dcf58f78

View file

@ -1,9 +1,8 @@
#!/bin/pwsh
$ahkID = "AutoHotkey.AutoHotkey";
$ahk1ID = "Lexikos.AutoHotkey";
winget uninstall --accept-source-agreements -e --id "$ahkID";
winget install --accept-source-agreements --accept-package-agreements -e --id "$ahk1ID";
winget install --accept-source-agreements --accept-package-agreements -e --id "$ahkID" --version "1.1.37.01";
choco install -y temurin11jre;
choco install -y ubiquiti-unifi-controller;
winget uninstall --accept-source-agreements -e --id "$ahk1ID";
winget uninstall --accept-source-agreements -e --id "$ahkID";
winget install --accept-source-agreements --accept-package-agreements -e --id "$ahkID";