From c9554e06a7c555af2aa4fac9e8d6ad584249fef8 Mon Sep 17 00:00:00 2001 From: Kurtis Date: Wed, 29 Oct 2025 00:39:45 +1000 Subject: [PATCH] Update fixed folder names since changing to downloading zip and extracting. --- start.ps1 | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/start.ps1 b/start.ps1 index eee2815..48d9800 100644 --- a/start.ps1 +++ b/start.ps1 @@ -24,7 +24,7 @@ Function Download-Wallpapers { $download = "https://git.tcmeta.net/kurtis/chicago95-wallpapers/archive/main.zip" Invoke-WebRequest $download -Out $tempPath Write-Host "Unzipping" - Expand-Archive $tempPath -DestinationPath "$folderPath\Wallpapers" -Force + Expand-Archive $tempPath -DestinationPath "$folderPath" -Force Write-Host "Removing Temp" Remove-Item $tempPath -Force } @@ -35,7 +35,7 @@ Function Download-Icons { $download = "https://git.tcmeta.net/kurtis/win95-icons/archive/main.zip" Invoke-WebRequest $download -Out $tempPath Write-Host "Unzipping" - Expand-Archive $tempPath -DestinationPath "$folderPath\Icons" -Force + Expand-Archive $tempPath -DestinationPath "$folderPath" -Force Write-Host "Removing Temp" Remove-Item $tempPath -Force } @@ -46,7 +46,7 @@ Function Download-Sounds { $download = "https://git.tcmeta.net/kurtis/win95-sounds/archive/main.zip" Invoke-WebRequest $download -Out $tempPath Write-Host "Unzipping" - Expand-Archive $tempPath -DestinationPath "$folderPath\Sounds" -Force + Expand-Archive $tempPath -DestinationPath "$folderPath" -Force Write-Host "Removing Temp" Remove-Item $tempPath -Force } @@ -103,7 +103,7 @@ public class Params Function Update-Wallpaper { Write-Host "Updating Wallpaper" Download-Wallpapers - Set-WallPaper("$folderPath\Wallpapers\default.png") + Set-WallPaper("$folderPath\chicago95-wallpapers\default.png") } Function Install-HackGRBT { @@ -166,10 +166,10 @@ Function Install-Clippy { Function Update-Sounds { Download-Sounds - Set-ItemProperty -Path "HKCU:\AppEvents\Schemes\Apps\.Default\WindowsLogon\.Current\" -Name "(default)" -Value "$folderPath\The-Microsoft-Sound.wav" - Set-ItemProperty -Path "HKCU:\AppEvents\Schemes\Apps\.Default\SystemAsterisk\.Current\" -Name "(default)" -Value "$folderPath\CHORD.WAV" - Set-ItemProperty -Path "HKCU:\AppEvents\Schemes\Apps\.Default\SystemExclamation\.Current\" -Name "(default)" -Value "$folderPath\CHORD.WAV" - Set-ItemProperty -Path "HKCU:\AppEvents\Schemes\Apps\.Default\SystemQuestion\.Current\" -Name "(default)" -Value "$folderPath\CHORD.WAV" + Set-ItemProperty -Path "HKCU:\AppEvents\Schemes\Apps\.Default\WindowsLogon\.Current\" -Name "(default)" -Value "$folderPath\win95-sounds\The-Microsoft-Sound.wav" + Set-ItemProperty -Path "HKCU:\AppEvents\Schemes\Apps\.Default\SystemAsterisk\.Current\" -Name "(default)" -Value "$folderPath\win95-sounds\CHORD.WAV" + Set-ItemProperty -Path "HKCU:\AppEvents\Schemes\Apps\.Default\SystemExclamation\.Current\" -Name "(default)" -Value "$folderPath\win95-sounds\CHORD.WAV" + Set-ItemProperty -Path "HKCU:\AppEvents\Schemes\Apps\.Default\SystemQuestion\.Current\" -Name "(default)" -Value "$folderPath\win95-sounds\CHORD.WAV" } Function Update-Icons { @@ -178,9 +178,9 @@ Function Update-Icons { $iconsArray = @( @("$ENV:APPDATA\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\File Explorer.lnk", - "$folderPathicons\Icons\Folder.ico"), + "$folderPathicons\win95-icons\Folder.ico"), @("$ENV:APPDATA\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Thunderbird.lnk", - "$folderPathicons\Icons\Mail.ico") + "$folderPathicons\win95-icons\Mail.ico") ) foreach ($innerArray in $multiLevelArray) {