2023-07-12 20:37:31 +00:00
|
|
|
#!/bin/pwsh
|
2023-06-30 10:24:12 +00:00
|
|
|
. "$PSScriptRoot/../Scripts/Context.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-Git $context;
|
|
|
|
Backup-LogitechGHUB $context;
|
|
|
|
Backup-ManiaPlanet $context;
|
|
|
|
Backup-Osu $context;
|
|
|
|
Backup-OsuLazer $context;
|
|
|
|
Backup-PuTTY $context;
|
|
|
|
Backup-RetroArch $context;
|
|
|
|
Backup-reWASD $context;
|
|
|
|
Backup-TmNations $context;
|
|
|
|
Backup-TmUnited $context;
|
|
|
|
Backup-VisualStudio $context;
|
|
|
|
}
|
|
|
|
|
|
|
|
function Restore-PersonalApps([Context] $context) {
|
2023-07-16 13:40:24 +00:00
|
|
|
# Backed up applications
|
2023-06-30 10:24:12 +00:00
|
|
|
Restore-Git $context;
|
2023-06-30 12:24:51 +00:00
|
|
|
Restore-LogitechGHUB $context;
|
2023-07-02 11:50:19 +00:00
|
|
|
Restore-TmNations $context;
|
2023-07-02 11:58:23 +00:00
|
|
|
Restore-TmUnited $context;
|
2023-07-02 12:00:33 +00:00
|
|
|
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:16:24 +00:00
|
|
|
Restore-PuTTY $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
|
|
|
|
choco install -y `
|
|
|
|
threema-desktop;
|
2023-07-16 13:43:21 +00:00
|
|
|
|
|
|
|
# Tools
|
2023-07-16 14:14:15 +00:00
|
|
|
choco install -y `
|
|
|
|
7zip `
|
|
|
|
chocolateygui `
|
|
|
|
bitwarden `
|
|
|
|
keepass `
|
2023-07-16 21:10:59 +00:00
|
|
|
gimp `
|
|
|
|
gpu-z;
|
2023-07-16 21:07:49 +00:00
|
|
|
|
2023-07-16 14:14:15 +00:00
|
|
|
# Media
|
|
|
|
choco install -y k-litecodecpackmega;
|
2023-07-16 13:43:21 +00:00
|
|
|
|
2023-07-16 13:40:24 +00:00
|
|
|
# Coding
|
2023-07-02 23:10:44 +00:00
|
|
|
choco install -y --params "/NoDesktopIcon" vscode vscode-insiders;
|
2023-07-02 14:46:58 +00:00
|
|
|
choco install -y --params "/NoDesktopIcon /AssociateWithFiles" vscodium;
|
2023-07-16 13:03:26 +00:00
|
|
|
winget install --scope machine --accept-source-agreements --accept-package-agreements -e --id VSCodium.VSCodium.Insiders --override '/VerySilent /MergeTasks="!runCode,quicklaunchicon,addcontextmenufiles,addcontextmenufolders,associatewithfiles,addtopath"';
|
2023-07-16 13:40:24 +00:00
|
|
|
|
2023-07-16 13:44:00 +00:00
|
|
|
choco install -y HxD;
|
|
|
|
|
2023-07-16 13:40:24 +00:00
|
|
|
# Gaming
|
2023-07-16 13:37:57 +00:00
|
|
|
choco install -y goggalaxy;
|
|
|
|
choco install -y epicgameslauncher steam;
|
2023-07-16 10:46:00 +00:00
|
|
|
|
|
|
|
$context.RemoveDesktopIcon("*Epic Games*");
|
|
|
|
$context.RemoveDesktopIcon("*Steam*");
|
2023-06-30 10:24:12 +00:00
|
|
|
}
|