2024-11-08 13:22:01 +01:00
|
|
|
param (
|
|
|
|
[string[]]$collections
|
|
|
|
)
|
|
|
|
|
|
|
|
$packages = @{
|
|
|
|
"common" = @(
|
|
|
|
'TheDocumentFoundation.LibreOffice'
|
|
|
|
'Mozilla.Firefox'
|
|
|
|
'Microsoft.PowerShell'
|
|
|
|
'VideoLAN.VLC'
|
|
|
|
'Microsoft.WindowsTerminal'
|
|
|
|
'RustDesk.RustDesk'
|
|
|
|
'7zip.7zip'
|
2024-11-08 19:37:00 +01:00
|
|
|
'GIMP.GIMP'
|
2024-11-08 13:22:01 +01:00
|
|
|
)
|
|
|
|
"classic" = @('Google.Chrome')
|
|
|
|
"workstation" = @(
|
|
|
|
'FreeCAD.FreeCAD'
|
|
|
|
'Git.Git'
|
|
|
|
'gerardog.gsudo'
|
|
|
|
'Helix.Helix'
|
|
|
|
'Chocolatey.Chocolatey'
|
|
|
|
'KiCAD.KiCAD'
|
|
|
|
'Prusa3D.PrusaSlicer'
|
|
|
|
'Microsoft.VisualStudioCode'
|
|
|
|
'MartiCliment.UniGetUI'
|
2024-11-10 19:26:47 +01:00
|
|
|
'Mozilla.Thunderbird'
|
2024-11-08 19:37:00 +01:00
|
|
|
'WireGuard.WireGuard'
|
2024-11-10 14:32:10 +01:00
|
|
|
'Bitwarden.Bitwarden'
|
2024-11-10 15:03:46 +01:00
|
|
|
'Mikrotik.Winbox'
|
2024-11-12 20:03:04 +01:00
|
|
|
'Inkscape.Inkscape'
|
2024-11-15 12:48:59 +01:00
|
|
|
'Mikrotik.Winbox.Beta'
|
|
|
|
'Beeper.Beeper'
|
2024-11-08 13:22:01 +01:00
|
|
|
)
|
2024-11-09 20:33:47 +01:00
|
|
|
"gaming" = @(
|
|
|
|
'Valve.Steam'
|
|
|
|
'Discord.Discord'
|
2024-11-08 13:22:01 +01:00
|
|
|
)
|
|
|
|
"nvidia" = @('Nvidia.GeForceExperience')
|
|
|
|
}
|
|
|
|
|
|
|
|
$args += $packages["common"]
|
|
|
|
|
|
|
|
foreach ($collection in $collections) {
|
|
|
|
if ($packages.ContainsKey($collection)) {
|
|
|
|
$args += $packages[$collection]
|
|
|
|
} else {
|
|
|
|
Write-Host "Unknown collection: $collection" -ForegroundColor Yellow
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Write-Host "Installed collections: $collections" -ForegroundColor Cyan
|
|
|
|
Write-Host "Installed packages: $args" -ForegroundColor Green
|
|
|
|
|
|
|
|
winget install @args
|