Remove unwanted shortcuts
This commit is contained in:
parent
a2a277a15a
commit
c0b8996960
2 changed files with 41 additions and 3 deletions
|
@ -34,6 +34,7 @@ function Restore-PersonalApps([Context] $context) {
|
||||||
}
|
}
|
||||||
|
|
||||||
. "$PSScriptRoot/../Software/chocolatey/Install.ps1";
|
. "$PSScriptRoot/../Software/chocolatey/Install.ps1";
|
||||||
|
$context.RemoveDesktopIcon("Microsoft Edge");
|
||||||
|
|
||||||
# Backed up applications
|
# Backed up applications
|
||||||
Restore-Git $context;
|
Restore-Git $context;
|
||||||
|
@ -60,12 +61,23 @@ function Restore-PersonalApps([Context] $context) {
|
||||||
signal `
|
signal `
|
||||||
teamspeak;
|
teamspeak;
|
||||||
|
|
||||||
|
$context.RemoveDesktopIcon("*Discord*");
|
||||||
|
$context.RemoveDesktopIcon("*Element*");
|
||||||
|
$context.RemoveDesktopIcon("*TeamSpeak*");
|
||||||
|
|
||||||
# Browsing
|
# 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;
|
||||||
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.Beta;
|
||||||
winget install --accept-source-agreements --accept-package-agreements -e --id Brave.Brave.Nightly;
|
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
|
# Tools
|
||||||
|
choco install -y `
|
||||||
|
mremoteng;
|
||||||
|
|
||||||
choco install -y `
|
choco install -y `
|
||||||
7zip `
|
7zip `
|
||||||
chocolateygui `
|
chocolateygui `
|
||||||
|
@ -82,17 +94,27 @@ function Restore-PersonalApps([Context] $context) {
|
||||||
imgburn `
|
imgburn `
|
||||||
inkscape `
|
inkscape `
|
||||||
krita `
|
krita `
|
||||||
mremoteng `
|
|
||||||
obs-studio `
|
obs-studio `
|
||||||
openvpn;
|
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
|
# 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
|
||||||
|
$context.RemoveDesktopIcon("YouTube Music");
|
||||||
|
|
||||||
# Coding
|
# Coding
|
||||||
choco install -y --params "/NoDesktopIcon" vscode vscode-insiders;
|
choco install -y --params "/NoDesktopIcon" vscode vscode-insiders;
|
||||||
|
@ -102,6 +124,8 @@ function Restore-PersonalApps([Context] $context) {
|
||||||
choco install -y --ignore-checksums `
|
choco install -y --ignore-checksums `
|
||||||
ida-free;
|
ida-free;
|
||||||
|
|
||||||
|
$context.RemoveDesktopIcon("IDA *");
|
||||||
|
|
||||||
choco install -y `
|
choco install -y `
|
||||||
HxD `
|
HxD `
|
||||||
docker-desktop `
|
docker-desktop `
|
||||||
|
@ -110,6 +134,9 @@ function Restore-PersonalApps([Context] $context) {
|
||||||
imhex `
|
imhex `
|
||||||
dotpeek;
|
dotpeek;
|
||||||
|
|
||||||
|
$context.RemoveDesktopIcon("Docker*");
|
||||||
|
$context.RemoveDesktopIcon("GitHub*");
|
||||||
|
|
||||||
choco install -y `
|
choco install -y `
|
||||||
nvs `
|
nvs `
|
||||||
python `
|
python `
|
||||||
|
@ -133,10 +160,13 @@ function Restore-PersonalApps([Context] $context) {
|
||||||
|
|
||||||
$context.RemoveDesktopIcon("*Epic Games*");
|
$context.RemoveDesktopIcon("*Epic Games*");
|
||||||
$context.RemoveDesktopIcon("*Steam*");
|
$context.RemoveDesktopIcon("*Steam*");
|
||||||
|
$context.RemoveDesktopIcon("EA.*");
|
||||||
|
|
||||||
choco install -y rayman-controlpanel;
|
choco install -y rayman-controlpanel;
|
||||||
|
|
||||||
# Emulation
|
# Emulation
|
||||||
choco install -y `
|
choco install -y `
|
||||||
ppsspp;
|
ppsspp;
|
||||||
|
|
||||||
|
$context.RemoveDesktopIcon("PPSSPP *32-Bit*");
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
#!/bin/pwsh
|
#!/bin/pwsh
|
||||||
|
param($context);
|
||||||
|
|
||||||
|
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||||
|
[Context] $context = $context;
|
||||||
|
|
||||||
Write-Host "Installing UniFi Controller";
|
Write-Host "Installing UniFi Controller";
|
||||||
Write-Information "Downgrading AutoHotkey";
|
Write-Information "Downgrading AutoHotkey";
|
||||||
$ahkID = "AutoHotkey.AutoHotkey";
|
$ahkID = "AutoHotkey.AutoHotkey";
|
||||||
|
@ -14,3 +19,6 @@ choco install -y ubiquiti-unifi-controller --ignore-dependencies;
|
||||||
Write-Information "Upgrading AutoHotkey";
|
Write-Information "Upgrading AutoHotkey";
|
||||||
winget uninstall --accept-source-agreements -e --id "$ahkID";
|
winget uninstall --accept-source-agreements -e --id "$ahkID";
|
||||||
winget install --accept-source-agreements --accept-package-agreements -e --id "$ahkID";
|
winget install --accept-source-agreements --accept-package-agreements -e --id "$ahkID";
|
||||||
|
|
||||||
|
Write-Information "Removing desktop icon";
|
||||||
|
$context.RemoveDesktopIcon("UniFi*");
|
||||||
|
|
Loading…
Reference in a new issue