Fix outdated winget syntax

This commit is contained in:
Manuel Thalmann 2023-12-08 17:22:39 +01:00
parent 02f585af95
commit e8055c1474
2 changed files with 7 additions and 10 deletions

View file

@ -38,12 +38,11 @@ function Restore-GenericApps([Context] $context) {
Install-Firefox $context;
. "$PSScriptRoot/../Software/MSEdgeRedirect/Install.ps1";
winget install --accept-source-agreements --accept-package-agreements `
-e --id Mozilla.Firefox.DeveloperEdition `
-e --id Mozilla.Firefox.Nightly `
-e --id Brave.Brave `
-e --id Brave.Brave.Beta `
-e --id Brave.Brave.Nightly;
winget install --accept-source-agreements --accept-package-agreements -e --id Mozilla.Firefox.DeveloperEdition;
winget install --accept-source-agreements --accept-package-agreements -e --id Mozilla.Firefox.Nightly;
winget install --accept-source-agreements --accept-package-agreements -e --id Brave.Brave;
winget install --accept-source-agreements --accept-package-agreements -e --id Brave.Brave.Beta;
winget install --accept-source-agreements --accept-package-agreements -e --id Brave.Brave.Nightly;
$context.RemoveTaskbarItem("*Firefox*");
$context.RemoveDesktopIcon("*Brave*");
@ -58,8 +57,7 @@ function Restore-GenericApps([Context] $context) {
procexp `
procmon;
winget install --accept-source-agreements --accept-package-agreements `
-e --id KDE.KDEConnect;
winget install --accept-source-agreements --accept-package-agreements -e --id KDE.KDEConnect;
# Media
choco install -y k-litecodecpackmega;

View file

@ -72,8 +72,7 @@ function Restore-PersonalApps([Context] $context) {
obs-studio `
openvpn;
winget install --accept-source-agreements --accept-package-agreements `
-e --id AntSoftware.AntRenamer;
winget install --accept-source-agreements --accept-package-agreements -e --id AntSoftware.AntRenamer;
$context.RemoveDesktopIcon("GPU-Z*");
$context.RemoveDesktopIcon("WinDirStat*");