2023-09-27 10:32:04 +00:00
|
|
|
#!/bin/pwsh
|
|
|
|
. "$PSScriptRoot/../Software/Firefox/Install.ps1";
|
|
|
|
. "$PSScriptRoot/../Software/git/Manage.ps1";
|
2024-08-08 00:27:39 +00:00
|
|
|
. "$PSScriptRoot/../Software/LGHub/Install.ps1";
|
2023-09-27 10:32:04 +00:00
|
|
|
. "$PSScriptRoot/../Software/ManiaPlanet/Manage.ps1";
|
|
|
|
. "$PSScriptRoot/../Software/osu!/Manage.ps1";
|
|
|
|
. "$PSScriptRoot/../Software/osu!lazer/Manage.ps1";
|
2024-08-07 22:51:45 +00:00
|
|
|
. "$PSScriptRoot/../Software/PuTTY/Install.ps1";
|
2023-09-27 10:32:04 +00:00
|
|
|
. "$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";
|
2024-08-07 19:05:32 +00:00
|
|
|
. "$PSScriptRoot/../../Common/Scripts/Context.ps1";
|
|
|
|
. "$PSScriptRoot/../../Common/Scripts/SoftwareManagement.ps1";
|
2023-09-27 10:32:04 +00:00
|
|
|
|
|
|
|
function Backup-GenericApps([Context] $context) {
|
|
|
|
Backup-Git $context;
|
|
|
|
Backup-PuTTY $context;
|
|
|
|
}
|
|
|
|
|
|
|
|
function Restore-GenericApps([Context] $context) {
|
|
|
|
# Device specific
|
|
|
|
if ((Get-Command Install-PersonalDrivers -ErrorAction SilentlyContinue)) {
|
|
|
|
Write-Information "Driver installation function was found. Starting installation";
|
|
|
|
Install-PersonalDrivers $context;
|
|
|
|
}
|
|
|
|
|
|
|
|
# Backed up applications
|
|
|
|
Restore-Git $context;
|
|
|
|
Restore-PuTTY $context;
|
|
|
|
|
2024-04-04 15:54:18 +00:00
|
|
|
# Essentials
|
|
|
|
choco install -y zoxide;
|
|
|
|
winget install --accept-source-agreements --accept-package-agreements -e --id junegunn.fzf;
|
|
|
|
. "$PSScriptRoot/../../Common/Config/zoxide/install.ps1";
|
|
|
|
|
2023-09-27 10:32:04 +00:00
|
|
|
# Design
|
|
|
|
choco install -y `
|
|
|
|
nerd-fonts-CascadiaCode;
|
|
|
|
|
|
|
|
# Browsing
|
|
|
|
Install-Firefox $context;
|
|
|
|
. "$PSScriptRoot/../Software/MSEdgeRedirect/Install.ps1";
|
|
|
|
|
2023-12-08 16:22:39 +00:00
|
|
|
winget install --accept-source-agreements --accept-package-agreements -e --id Brave.Brave;
|
2024-02-11 13:23:15 +00:00
|
|
|
winget install --accept-source-agreements --accept-package-agreements -e --id kamranahmedse.pennywise;
|
2023-09-27 10:32:04 +00:00
|
|
|
|
|
|
|
$context.RemoveTaskbarItem("*Firefox*");
|
|
|
|
$context.RemoveDesktopIcon("*Brave*");
|
|
|
|
$context.RemoveTaskbarItem("*Brave*");
|
2024-02-11 13:23:15 +00:00
|
|
|
$context.RemoveDesktopIcon("Pennywise*");
|
2023-09-27 10:32:04 +00:00
|
|
|
|
|
|
|
choco install -y `
|
|
|
|
7zip `
|
|
|
|
chocolateygui `
|
|
|
|
DefaultProgramsEditor `
|
|
|
|
bitwarden `
|
|
|
|
keepass `
|
|
|
|
procexp `
|
2024-03-23 15:15:08 +00:00
|
|
|
procmon `
|
|
|
|
;
|
2023-09-27 10:32:04 +00:00
|
|
|
|
2023-12-08 16:22:39 +00:00
|
|
|
winget install --accept-source-agreements --accept-package-agreements -e --id KDE.KDEConnect;
|
2024-04-01 18:10:07 +00:00
|
|
|
winget install --accept-source-agreements --accept-package-agreements -e --id SomePythonThings.WingetUIStore
|
2023-09-27 10:32:04 +00:00
|
|
|
|
|
|
|
# Media
|
2024-02-11 13:24:49 +00:00
|
|
|
choco install -y `
|
|
|
|
k-litecodecpackmega `
|
|
|
|
jellyfin-media-player `
|
|
|
|
vlc `
|
|
|
|
;
|
|
|
|
|
|
|
|
winget install --accept-source-agreements --accept-package-agreements -e --id Ytmdesktop.Ytmdesktop;
|
|
|
|
$context.RemoveDesktopIcon("YouTube Music*");
|
|
|
|
$context.RemoveDesktopIcon("VLC*");
|
2023-09-27 10:32:04 +00:00
|
|
|
|
|
|
|
# Coding
|
2024-04-06 14:30:11 +00:00
|
|
|
choco install -y --params "/NoDesktopIcon" vscode;
|
2023-09-27 10:32:04 +00:00
|
|
|
choco install -y --params "/NoDesktopIcon /AssociateWithFiles" vscodium;
|
2024-04-06 14:30:11 +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-09-27 10:32:04 +00:00
|
|
|
|
2024-04-01 18:10:36 +00:00
|
|
|
refreshenv;
|
2024-03-25 18:54:26 +00:00
|
|
|
. "$PSScriptRoot/../Config/vscode/Install.ps1";
|
|
|
|
|
2023-09-27 10:32:04 +00:00
|
|
|
choco install -y `
|
|
|
|
gh `
|
2024-03-23 15:15:08 +00:00
|
|
|
github-desktop `
|
|
|
|
;
|
2023-09-27 10:32:04 +00:00
|
|
|
|
|
|
|
$context.RemoveDesktopIcon("GitHub*");
|
|
|
|
|
|
|
|
choco install -y `
|
|
|
|
python `
|
2024-03-23 15:15:08 +00:00
|
|
|
visualstudio2019-workload-vctools `
|
|
|
|
;
|
2023-09-27 10:32:04 +00:00
|
|
|
|
|
|
|
. "$PSScriptRoot/../Software/NVS/Install.ps1";
|
|
|
|
$context.RemoveDesktopIcon("*Microsoft Edge*");
|
|
|
|
}
|