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";
|
2023-06-30 11:17:00 +00:00
|
|
|
. "$PSScriptRoot/../Software/Nextcloud/Manage.ps1";
|
2023-06-30 10:24:12 +00:00
|
|
|
. "$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-06-30 11:17:00 +00:00
|
|
|
choco feature enable -n useEnhancedExitCodes;
|
|
|
|
Restore-Nextcloud $context;
|
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-02 14:46:58 +00:00
|
|
|
choso install -y --params "/NoDesktopIcon" vscode vscode-insiders;
|
|
|
|
choco install -y --params "/NoDesktopIcon /AssociateWithFiles" vscodium;
|
2023-07-02 15:55:42 +00:00
|
|
|
winget install --accept-source-agreements --accept-package-agreements -e --id VSCodium.VSCodium.Insiders --override '/VerySilent /MergeTasks="!runCode,quicklaunchicon,addcontextmenufiles,addcontextmenufolders,associatewithfiles,addtopath"';
|
2023-07-02 14:18:58 +00:00
|
|
|
choco install -y epicgameslauncher steam goggalaxy;
|
2023-06-30 10:24:12 +00:00
|
|
|
}
|