diff --git a/Fonts/Fira Code Bold Nerd Font Complete Mono Windows Compatible.ttf b/Fonts/Fira Code Bold Nerd Font Complete Mono Windows Compatible.ttf deleted file mode 100644 index 0485c09..0000000 Binary files a/Fonts/Fira Code Bold Nerd Font Complete Mono Windows Compatible.ttf and /dev/null differ diff --git a/Fonts/Fira Code Bold Nerd Font Complete Windows Compatible.ttf b/Fonts/Fira Code Bold Nerd Font Complete Windows Compatible.ttf deleted file mode 100644 index bef3694..0000000 Binary files a/Fonts/Fira Code Bold Nerd Font Complete Windows Compatible.ttf and /dev/null differ diff --git a/Fonts/Fira Code Light Nerd Font Complete Mono Windows Compatible.ttf b/Fonts/Fira Code Light Nerd Font Complete Mono Windows Compatible.ttf deleted file mode 100644 index 599a8ef..0000000 Binary files a/Fonts/Fira Code Light Nerd Font Complete Mono Windows Compatible.ttf and /dev/null differ diff --git a/Fonts/Fira Code Light Nerd Font Complete Windows Compatible.ttf b/Fonts/Fira Code Light Nerd Font Complete Windows Compatible.ttf deleted file mode 100644 index 88d60b5..0000000 Binary files a/Fonts/Fira Code Light Nerd Font Complete Windows Compatible.ttf and /dev/null differ diff --git a/Fonts/Fira Code Medium Nerd Font Complete Mono Windows Compatible.ttf b/Fonts/Fira Code Medium Nerd Font Complete Mono Windows Compatible.ttf deleted file mode 100644 index 9294d56..0000000 Binary files a/Fonts/Fira Code Medium Nerd Font Complete Mono Windows Compatible.ttf and /dev/null differ diff --git a/Fonts/Fira Code Medium Nerd Font Complete Windows Compatible.ttf b/Fonts/Fira Code Medium Nerd Font Complete Windows Compatible.ttf deleted file mode 100644 index 9aaf690..0000000 Binary files a/Fonts/Fira Code Medium Nerd Font Complete Windows Compatible.ttf and /dev/null differ diff --git a/Fonts/Fira Code Regular Nerd Font Complete Mono Windows Compatible.ttf b/Fonts/Fira Code Regular Nerd Font Complete Mono Windows Compatible.ttf deleted file mode 100644 index d29b180..0000000 Binary files a/Fonts/Fira Code Regular Nerd Font Complete Mono Windows Compatible.ttf and /dev/null differ diff --git a/Fonts/Fira Code Regular Nerd Font Complete Windows Compatible.ttf b/Fonts/Fira Code Regular Nerd Font Complete Windows Compatible.ttf deleted file mode 100644 index 5c59280..0000000 Binary files a/Fonts/Fira Code Regular Nerd Font Complete Windows Compatible.ttf and /dev/null differ diff --git a/Fonts/Fira Code Retina Nerd Font Complete Mono Windows Compatible.ttf b/Fonts/Fira Code Retina Nerd Font Complete Mono Windows Compatible.ttf deleted file mode 100644 index f3e0a60..0000000 Binary files a/Fonts/Fira Code Retina Nerd Font Complete Mono Windows Compatible.ttf and /dev/null differ diff --git a/Fonts/Fira Code Retina Nerd Font Complete Windows Compatible.ttf b/Fonts/Fira Code Retina Nerd Font Complete Windows Compatible.ttf deleted file mode 100644 index 0757c47..0000000 Binary files a/Fonts/Fira Code Retina Nerd Font Complete Windows Compatible.ttf and /dev/null differ diff --git a/install.ps1 b/install.ps1 index 6980f80..8ccbdc6 100644 --- a/install.ps1 +++ b/install.ps1 @@ -19,8 +19,8 @@ $toRemove = @('Clipchamp.Clipchamp_yxz26nhyzhsrt', 'Microsoft.549981C3F5F10_8wek 'Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe', 'Microsoft.Todos_8wekyb3d8bbwe', 'Microsoft.Windows.Photos_8wekyb3d8bbwe', 'Microsoft.WindowsMaps_8wekyb3d8bbwe', 'Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe', 'Microsoft.WindowsAlarms_8wekyb3d8bbwe', 'Microsoft.YourPhone_8wekyb3d8bbwe', 'Microsoft.ZuneMusic_8wekyb3d8bbwe', 'Microsoft.ZuneVideo_8wekyb3d8bbwe', 'MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe', 'MicrosoftTeams_8wekyb3d8bbwe', 'MicrosoftTeams_8wekyb3d8bbwe', 'Microsoft.OneDrive', 'microsoft.windowscommunicationsapps_8wekyb3d8bbwe', 'CanonicalGroupLimited.Ubuntu_79rhkp1fndgsc') -$toInstall = @('mcmilk.7zip-zstd', 'VideoLAN.VLC', 'SumatraPDF.SumatraPDF', 'Microsoft.VisualStudioCode', 'Bitwarden.Bitwarden', 'Mozilla.Firefox', 'IrfanSkiljan.IrfanView', 'Microsoft.PowerToys', 'OO-Software.ShutUp10' - , 'Joplin.Joplin', 'WireGuard.WireGuard', 'Devolutions.RemoteDesktopManager', 'TeamViewer.TeamViewer', 'NickeManarin.ScreenToGif', 'JanDeDobbeleer.OhMyPosh', 'WiresharkFoundation.Wireshark', 'Famatech.AdvancedIPScanner') +$toInstall = @('mcmilk.7zip-zstd', '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') $toInstallOpt = @('Element.Element', 'Discord.Discord', 'Corsair.iCUE.4', 'Valve.Steam', 'GOG.Galaxy', 'TeXstudio.TeXstudio', 'MiKTeX.MiKTeX', 'Citrix.Workspace', 'Nvidia.GeForceExperience', 'Mojang.MinecraftLauncher', 'Elgato.StreamDeck', 'REALiX.HWiNFO', '9P4CLT2RJ1RS', 'Oracle.VirtualBox') @@ -56,13 +56,25 @@ do { } '2' { # Winget config installieren. if (-not(Test-Path -Path '~\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json' -PathType leaf)){ - Write-Host "Lege Winget config an." -ForegroundColor Green - New-Item -Path "~\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json" -ItemType SymbolicLink -Value "~/.winconfig/configs/winget/settings.json" | Out-Null + Write-Host "Lege Winget config an." -ForegroundColor Blue + try { + New-Item -Path "~\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json" -ItemType SymbolicLink -Value "~/.winconfig/configs/winget/settings.json" | Out-Null + Write-Host "Winget config erfolgreich verlinkt." -ForegroundColor Green + } + catch { + Write-Host "Probleme beim verlinken der Wignet configt" -ForegroundColor Red + } } else { - Write-Host "Lege Winget config an." -ForegroundColor Green + Write-Host "Lege Winget config an." -ForegroundColor Blue Remove-Item "~\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json" - New-Item -Path "~\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json" -ItemType SymbolicLink -Value "~/.winconfig/configs/winget/settings.json" | Out-Null + try { + New-Item -Path "~\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json" -ItemType SymbolicLink -Value "~/.winconfig/configs/winget/settings.json" | Out-Null + Write-Host "Winget config erfolgreich verlinkt." -ForegroundColor Green + } + catch { + Write-Host "Probleme beim verlinken der Wignet configt" -ForegroundColor Red + } } # Software installieren. foreach ($utility in $toInstall) { @@ -84,14 +96,9 @@ do { 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..." - Try { - ./OOSU10.exe ooshutup10.cfg /quiet - Write-Host "OOshutup10 config erfolgreich eingelesen." -ForegroundColor Green - } - Catch { - Write-Host "Probleme beim einlesen der OOshutup10 config" -ForegroundColor Red - } + Write-Host "Versuche OOshutup10 config einzulesen..." -ForegroundColor Blue + ./OOSU10.exe $HOME/.winconfig/ooshutup10.cfg /quiet + Write-Host "OOshutup10 config erfolgreich eingelesen." -ForegroundColor Green } Catch { Write-Host "Problem beim herunterladen von OOshutup 10." -ForegroundColor Red @@ -102,7 +109,6 @@ do { $FONTS = 0x14 $objShell = New-Object -ComObject Shell.Application $objFolder = $objShell.Namespace($FONTS) - New-Item $LocalPath -type directory -Force $Fontdir = Get-ChildItem $LocalPath foreach ($File in $Fontdir) { Write-Host "Versuche Schriftart $File zu installieren ..." -ForegroundColor Blue @@ -151,10 +157,10 @@ do { # Powershell Profile Datei erzeugen Write-Host "Löschen des default Powershell profiles..." -ForegroundColor Blue Try { - Remove-Item -Force "~/Documents/WindowsPowerShell/profile.ps1" + Remove-Item -Force "~/Documents/PowerShell/profile.ps1" Write-Host "Powershell config erfolgreich gelöscht." -ForegroundColor Green Try { - New-Item -Path "~/Documents/WindowsPowerShell/profile.ps1" -ItemType SymbolicLink -Value "~/.winconfig/profile.ps1" | Out-Null + New-Item -Path "~/Documents/PowerShell/profile.ps1" -ItemType SymbolicLink -Value "~/.winconfig/profile.ps1" | Out-Null Write-Host "Powershell config erfolgreich verlinkt." } Catch { @@ -172,7 +178,7 @@ do { Catch { Write-Host "Fehler beim installieren des Powershell update Modul." -ForegroundColor Red } - Read-Host "Bitte das Terminal / Powershell neu starten damit die Aenderungen uebernommen werden." -Fore + Read-Host "Bitte das Terminal / Powershell neu starten damit die Aenderungen uebernommen werden." } '3' { foreach ($utility in $toInstallOpt) {