PortValhalla/scripts/Windows/Collections/Personal.ps1

142 lines
4 KiB
PowerShell

#!/bin/pwsh
. "$PSScriptRoot/../Scripts/Context.ps1";
. "$PSScriptRoot/Generic.ps1";
. "$PSScriptRoot/../Scripts/SoftwarePackage.ps1";
. "$PSScriptRoot/../Software/Firefox/Install.ps1";
. "$PSScriptRoot/../Software/git/Manage.ps1";
. "$PSScriptRoot/../Software/LGHub/Manage.ps1";
. "$PSScriptRoot/../Software/ManiaPlanet/Manage.ps1";
. "$PSScriptRoot/../Software/osu!/Manage.ps1";
. "$PSScriptRoot/../Software/osu!lazer/Manage.ps1";
. "$PSScriptRoot/../Software/PuTTY/Manage.ps1";
. "$PSScriptRoot/../Software/RetroArch/Manage.ps1";
. "$PSScriptRoot/../Software/reWASD/Manage.ps1";
. "$PSScriptRoot/../Software/TrackMania Nations Forever/Manage.ps1";
. "$PSScriptRoot/../Software/TrackMania United Forever/Manage.ps1";
. "$PSScriptRoot/../Software/VisualStudio/Manage.ps1";
function Backup-PersonalApps([Context] $context) {
Backup-GenericApps $context;
Backup-LogitechGHUB $context;
Backup-ManiaPlanet $context;
Backup-Osu $context;
Backup-OsuLazer $context;
Backup-RetroArch $context;
Backup-reWASD $context;
Backup-TmNations $context;
Backup-TmUnited $context;
Backup-VisualStudio $context;
}
function Restore-PersonalApps([Context] $context) {
# Backed up applications
Restore-LogitechGHUB $context;
Restore-TmNations $context;
Restore-TmUnited $context;
Restore-ManiaPlanet $context;
Restore-Osu $context;
Restore-OsuLazer $context;
Restore-RetroArch $context;
Restore-reWASD $context;
Restore-VisualStudio $context;
# Social Media
choco install -y `
signal;
choco install -y `
threema-desktop `
discord `
element-desktop `
teamspeak;
$context.RemoveDesktopIcon("*Discord*");
$context.RemoveDesktopIcon("*Element*");
$context.RemoveDesktopIcon("*TeamSpeak*");
# Tools
Install-SoftwarePackage $context "https://github.com/mRemoteNG/mRemoteNG/releases/download/2023.03.03-v1.77.3-nb/mRemoteNG-Installer-1.77.3.nb-1784.msi" @("/Quiet");
choco install -y `
gimp `
gpu-z `
windirstat `
winmerge `
xmedia-recode `
hwmonitor `
qbittorrent `
imgburn `
inkscape `
krita `
MetaX `
obs-studio `
openvpn;
winget install --accept-source-agreements --accept-package-agreements `
-e --id AntSoftware.AntRenamer;
$context.RemoveDesktopIcon("GPU-Z*");
$context.RemoveDesktopIcon("WinDirStat*");
$context.RemoveDesktopIcon("*HWMonitor*");
$context.RemoveDesktopIcon("ImgBurn*");
$context.RemoveDesktopIcon("Inkscape*");
$context.RemoveDesktopIcon("Krita*");
$context.RemoveDesktopIcon("mRemoteNG*");
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 `
jellyfin-media-player `
vlc;
winget install --accept-source-agreements --accept-package-agreements -e --id Ytmdesktop.Ytmdesktop;
$context.RemoveDesktopIcon("YouTube Music*");
# Coding
choco install -y --ignore-checksums `
ida-free;
$context.RemoveDesktopIcon("IDA *");
choco install -y `
HxD `
docker-desktop `
imhex `
dotpeek;
$context.RemoveDesktopIcon("Docker*");
choco install -y `
python `
visualstudio2019-workload-vctools;
. "$PSScriptRoot/../Software/NVS/Install.ps1";
# Gaming
choco install -y goggalaxy;
choco install --ignore-checksums -y `
ubisoft-connect `
ea-app;
choco install -y `
epicgameslauncher `
steam;
$context.RemoveDesktopIcon("*Ubisoft Connect*");
$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*");
}