PortValhalla/scripts/Windows/Collections/Personal.ps1

141 lines
4 KiB
PowerShell
Raw Normal View History

2023-07-12 20:37:31 +00:00
#!/bin/pwsh
. "$PSScriptRoot/../Scripts/Context.ps1";
. "$PSScriptRoot/Generic.ps1";
. "$PSScriptRoot/../Scripts/SoftwareManagement.ps1";
2023-07-20 18:01:09 +00:00
. "$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-GenericApps $context;
2023-06-30 12:24:51 +00:00
Restore-LogitechGHUB $context;
Restore-TmNations $context;
Restore-TmUnited $context;
Restore-ManiaPlanet $context;
2023-07-02 12:42:17 +00:00
Restore-Osu $context;
2023-07-02 13:12:56 +00:00
Restore-OsuLazer $context;
2023-07-02 13:58:36 +00:00
Restore-RetroArch $context;
2023-07-02 14:05:04 +00:00
Restore-reWASD $context;
2023-07-02 14:15:08 +00:00
Restore-VisualStudio $context;
2023-07-02 14:18:58 +00:00
2023-07-16 14:14:15 +00:00
# Social Media
2023-07-19 01:08:32 +00:00
choco install -y `
2024-03-23 15:15:08 +00:00
signal `
;
2023-07-19 01:08:32 +00:00
2023-07-16 14:14:15 +00:00
choco install -y `
2023-07-17 01:25:14 +00:00
threema-desktop `
element-desktop `
2024-03-23 15:15:08 +00:00
teamspeak `
;
2023-07-17 01:25:14 +00:00
winget install --accept-source-agreements --accept-package-agreements -e --id Discord.Discord;
2023-07-18 18:28:46 +00:00
$context.RemoveDesktopIcon("*Discord*");
$context.RemoveDesktopIcon("*Element*");
$context.RemoveDesktopIcon("*TeamSpeak*");
2023-07-16 13:43:21 +00:00
# Tools
2023-07-27 18:18:04 +00:00
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");
2023-07-18 18:28:46 +00:00
2023-07-16 14:14:15 +00:00
choco install -y `
2023-07-16 21:10:59 +00:00
gimp `
2023-07-17 01:25:14 +00:00
gpu-z `
windirstat `
winmerge `
xmedia-recode `
hwmonitor `
qbittorrent `
imgburn `
inkscape `
krita `
2023-07-31 16:58:42 +00:00
MetaX `
2023-07-17 01:25:14 +00:00
obs-studio `
2024-03-23 15:15:08 +00:00
openvpn `
;
2023-12-08 16:22:39 +00:00
winget install --accept-source-agreements --accept-package-agreements -e --id AntSoftware.AntRenamer;
2023-07-31 16:44:54 +00:00
2023-07-18 18:28:46 +00:00
$context.RemoveDesktopIcon("GPU-Z*");
$context.RemoveDesktopIcon("WinDirStat*");
$context.RemoveDesktopIcon("*HWMonitor*");
$context.RemoveDesktopIcon("ImgBurn*");
$context.RemoveDesktopIcon("Inkscape*");
$context.RemoveDesktopIcon("Krita*");
$context.RemoveDesktopIcon("mRemoteNG*");
2024-02-11 13:21:51 +00:00
$context.RemoveDesktopIcon("MetaX*");
$context.RemoveDesktopIcon("OBS Studio*");
2023-07-18 18:28:46 +00:00
2023-07-19 01:09:29 +00:00
winget install --accept-source-agreements --accept-package-agreements -e --id AppWork.JDownloader;
2023-07-18 18:28:46 +00:00
$context.RemoveDesktopIcon("JDownloader*");
2023-07-16 21:07:49 +00:00
2023-07-18 18:28:46 +00:00
. "$PSScriptRoot/../Software/Ubiquiti UniFi Controller/Install.ps1" $context;
2023-07-18 17:09:12 +00:00
# Coding
2023-07-18 15:03:38 +00:00
choco install -y --ignore-checksums `
2024-03-23 15:15:08 +00:00
ida-free `
;
2023-07-18 15:03:38 +00:00
2023-07-18 18:28:46 +00:00
$context.RemoveDesktopIcon("IDA *");
2023-07-18 12:45:51 +00:00
choco install -y `
2023-07-17 01:25:14 +00:00
HxD `
docker-desktop `
imhex `
2024-03-23 15:15:08 +00:00
dotpeek `
;
2023-07-17 01:25:14 +00:00
2023-07-18 18:28:46 +00:00
$context.RemoveDesktopIcon("Docker*");
# Gaming
2023-07-16 13:37:57 +00:00
choco install -y goggalaxy;
2023-07-17 01:25:14 +00:00
2023-07-18 17:00:30 +00:00
choco install --ignore-checksums -y `
2023-07-27 18:06:56 +00:00
ubisoft-connect `
2024-03-23 15:15:08 +00:00
;
2023-07-18 17:00:30 +00:00
2023-07-17 01:25:14 +00:00
choco install -y `
epicgameslauncher `
2024-03-23 15:15:08 +00:00
steam `
;
2023-07-17 01:25:14 +00:00
winget install --accept-source-agreements --accept-package-agreements -e --id ElectronicArts.EADesktop;
2023-07-26 23:04:08 +00:00
$context.RemoveDesktopIcon("*Ubisoft Connect*");
2023-07-16 10:46:00 +00:00
$context.RemoveDesktopIcon("*Epic Games*");
$context.RemoveDesktopIcon("*Steam*");
2023-07-18 18:28:46 +00:00
$context.RemoveDesktopIcon("EA.*");
2023-07-17 01:28:09 +00:00
2023-07-18 17:59:07 +00:00
choco install -y rayman-controlpanel;
2023-07-17 01:28:09 +00:00
# Emulation
choco install -y `
2024-03-23 15:15:08 +00:00
ppsspp `
;
2023-07-18 18:28:46 +00:00
2024-02-06 01:31:44 +00:00
$context.RemoveDesktopIcon("PPSSPP *-Bit*");
}