From eef43b0274878ddc13b743917fc7509b0ee3dcba Mon Sep 17 00:00:00 2001 From: Tim Date: Fri, 12 May 2023 14:47:04 +0200 Subject: [PATCH] OOShutup 10 per winget --- config.ps1 | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/config.ps1 b/config.ps1 index e6ff3ab..6ca3bfd 100644 --- a/config.ps1 +++ b/config.ps1 @@ -10,7 +10,7 @@ $toRemove = @('Clipchamp.Clipchamp_yxz26nhyzhsrt', 'Microsoft.549981C3F5F10_8wek $toInstall = @('7zip.7zip', 'VideoLAN.VLC', 'SumatraPDF.SumatraPDF', 'Microsoft.VisualStudioCode', 'Bitwarden.Bitwarden', 'Mozilla.Firefox', 'IrfanSkiljan.IrfanView', 'Microsoft.PowerToys', 'Joplin.Joplin', 'WireGuard.WireGuard', 'Devolutions.RemoteDesktopManager', 'TeamViewer.TeamViewer', 'NickeManarin.ScreenToGif', 'JanDeDobbeleer.OhMyPosh', 'WiresharkFoundation.Wireshark', 'Famatech.AdvancedIPScanner', - 'yt-dlp.yt-dlp'.'Audacity.Audacity', 'mp4-merge', 'AutoHotkey.AutoHotkey', 'Gyan.FFmpeg') + 'yt-dlp.yt-dlp'.'Audacity.Audacity', 'AutoHotkey.AutoHotkey', 'Gyan.FFmpeg', 'dotPDNLLC.paintdotnet', 'OO-Software.ShutUp10') $toInstallOpt = @('Element.Element', 'Discord.Discord', 'Logitech.LogiBolt', 'Valve.Steam', 'GOG.Galaxy', 'TeXstudio.TeXstudio', 'MiKTeX.MiKTeX', 'Citrix.Workspace', 'Nvidia.GeForceExperience', 'Mojang.MinecraftLauncher', 'Elgato.StreamDeck', 'REALiX.HWiNFO', '9P4CLT2RJ1RS', 'Microsoft.SQLServerManagementStudio', 'Soundboard', 'VMware.WorkstationPro', 'OBSProject.OBSStudio', 'Microsoft.Teams', 'AndreWiethoff.ExactAudioCopy', 'Mp3tag.Mp3tag', 'Logitech.OptionsPlus') @@ -86,17 +86,7 @@ function InstallSoftware { elseif ($utility -eq 'Microsoft.PowerToys') { Start-Sleep -Seconds 5 taskkill /IM PowerToys.Settings.exe | Out-Null - } - elseif ($utility -eq 'mp4-merge'){ - Write-Host "Installiere mp4-merge..." -ForegroundColor Blue - try { - curl.exe -L https://github.com/gyroflow/mp4-merge/releases/download/v0.1.4/mp4_merge-windows64.exe -o C:\Windows\mp4merge.exe - Write-Host "mp4-merge wurde erfolgreich installiert." -ForegroundColor Green - } - catch { - Write-Host "Es ist ein Fehler bei der Installation von mp4-merge auftreten. Bitte das Log durchsuchen." -ForegroundColor Red - } - } + } elseif ($utility -eq 'AutoHotkey.AutoHotkey'){ Write-Host "Installiere AutoHotkey..." -ForegroundColor Blue try { @@ -118,16 +108,14 @@ function InstallSoftware { } # OOShutup10 herunterladen und config reinrendern. - Write-Host "Lade OOshutup10 herunter bitte warten..." -ForegroundColor Blue + Write-Host "Konfiguriere OOshutup10 bitte warten..." -ForegroundColor Blue Try { - curl.exe -s "https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe" -o OOSU10.exe - Write-Host "OOshutup10 erfolgreich heruntergeladen." -ForegroundColor Green Write-Host "Versuche OOshutup10 config einzulesen..." -ForegroundColor Blue ./OOSU10.exe $HOME\.winconfig\configs\ooshutup10\ooshutup10.cfg /quiet Write-Host "OOshutup10 config erfolgreich eingelesen." -ForegroundColor Green } Catch { - Write-Host "Problem beim herunterladen von OOshutup 10." -ForegroundColor Red + Write-Host "Problem beim konfigurieren von OOshutup 10." -ForegroundColor Red } Write-Host "Richte Powershell und Terminal ein..." -ForegroundColor Blue # Fonts installieren.