From 297ec6a4b5f67c8ecf8fbce6fb3d0e4067136070 Mon Sep 17 00:00:00 2001 From: Cryostrixx Date: Thu, 26 Sep 2024 00:31:35 -0700 Subject: [PATCH] Basic code touchup --- scripts/start.ps1 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/start.ps1 b/scripts/start.ps1 index 8ca58a54..476d4005 100644 --- a/scripts/start.ps1 +++ b/scripts/start.ps1 @@ -62,9 +62,7 @@ $downloadURL = "https://github.com/ChrisTitusTech/winutil/releases/latest/downlo # Download the WinUtil script to '$env:TEMP' try { Write-Host "Downloading latest stable WinUtil version..." -ForegroundColor Green - $ProgressPreference = "SilentlyContinue" Invoke-RestMethod $downloadURL -OutFile "$env:TEMP\winutil.ps1" - $ProgressPreference = "Continue" } catch { Write-Host "Error downloading WinUtil: $_" -ForegroundColor Red break @@ -86,7 +84,7 @@ try { Write-Host "WinUtil is not running as administrator. Relaunching..." -ForegroundColor DarkCyan Start-Process $processCmd -ArgumentList $launchArguments -Verb RunAs } else { - Write-Host "Running the latest stable version of WinUtil." -ForegroundColor Green + Write-Host "Running the latest stable version of WinUtil." -ForegroundColor DarkCyan Start-Process $processCmd -ArgumentList $launchArguments } break