Remove unwanted shortcuts

This commit is contained in:
Manuel Thalmann 2023-07-18 20:28:46 +02:00
parent 570f7829fd
commit 8eaa3ebba7
2 changed files with 41 additions and 3 deletions

View file

@ -34,6 +34,7 @@ function Restore-PersonalApps([Context] $context) {
}
. "$PSScriptRoot/../Software/chocolatey/Install.ps1";
$context.RemoveDesktopIcon("Microsoft Edge");
# Backed up applications
Restore-Git $context;
@ -60,12 +61,23 @@ function Restore-PersonalApps([Context] $context) {
signal `
teamspeak;
$context.RemoveDesktopIcon("*Discord*");
$context.RemoveDesktopIcon("*Element*");
$context.RemoveDesktopIcon("*TeamSpeak*");
# Browsing
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.RemoveDesktopIcon("*Brave Beta*");
$context.RemoveDesktopIcon("*Brave Nightly*");
$context.RemoveTaskbarItem("*Brave*");
# Tools
choco install -y `
mremoteng;
choco install -y `
7zip `
chocolateygui `
@ -82,17 +94,27 @@ function Restore-PersonalApps([Context] $context) {
imgburn `
inkscape `
krita `
mremoteng `
obs-studio `
openvpn;
winget install --accept-source-agreements --accept-package-agreements -e --id AppWork.JDownloader
$context.RemoveDesktopIcon("GPU-Z*");
$context.RemoveDesktopIcon("WinDirStat*");
$context.RemoveDesktopIcon("WinSCP*");
$context.RemoveDesktopIcon("*HWMonitor*");
$context.RemoveDesktopIcon("ImgBurn*");
$context.RemoveDesktopIcon("Inkscape*");
$context.RemoveDesktopIcon("Krita*");
$context.RemoveDesktopIcon("mRemoteNG*");
. "$PSScriptRoot/../Software/Ubiquiti UniFi Controller/Install.ps1";
winget install --accept-source-agreements --accept-package-agreements -e --id AppWork.JDownloader
$context.RemoveDesktopIcon("JDownloader*");
. "$PSScriptRoot/../Software/Ubiquiti UniFi Controller/Install.ps1" $context;
# Media
choco install -y k-litecodecpackmega;
winget install --accept-source-agreements --accept-package-agreements -e --id Ytmdesktop.Ytmdesktop
$context.RemoveDesktopIcon("YouTube Music");
# Coding
choco install -y --params "/NoDesktopIcon" vscode vscode-insiders;
@ -102,6 +124,8 @@ function Restore-PersonalApps([Context] $context) {
choco install -y --ignore-checksums `
ida-free;
$context.RemoveDesktopIcon("IDA *");
choco install -y `
HxD `
docker-desktop `
@ -110,6 +134,9 @@ function Restore-PersonalApps([Context] $context) {
imhex `
dotpeek;
$context.RemoveDesktopIcon("Docker*");
$context.RemoveDesktopIcon("GitHub*");
choco install -y `
nvs `
python `
@ -133,10 +160,13 @@ function Restore-PersonalApps([Context] $context) {
$context.RemoveDesktopIcon("*Epic Games*");
$context.RemoveDesktopIcon("*Steam*");
$context.RemoveDesktopIcon("EA.*");
choco install -y rayman-controlpanel;
# Emulation
choco install -y `
ppsspp;
$context.RemoveDesktopIcon("PPSSPP *32-Bit*");
}

View file

@ -1,4 +1,9 @@
#!/bin/pwsh
param($context);
. "$PSScriptRoot/../../Scripts/Context.ps1";
[Context] $context = $context;
Write-Host "Installing UniFi Controller";
Write-Information "Downgrading AutoHotkey";
$ahkID = "AutoHotkey.AutoHotkey";
@ -14,3 +19,6 @@ 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";
Write-Information "Removing desktop icon";
$context.RemoveDesktopIcon("UniFi*");