From a1e4d203ce5dc59891ff4b21c110de5fa4e5d280 Mon Sep 17 00:00:00 2001 From: MyDrift Date: Sun, 14 Jul 2024 09:26:13 +0200 Subject: [PATCH] polish --- functions/private/Invoke-WinUtilFeatureInstall.ps1 | 2 -- scripts/main.ps1 | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/functions/private/Invoke-WinUtilFeatureInstall.ps1 b/functions/private/Invoke-WinUtilFeatureInstall.ps1 index 8e5fbcda..cb611d6d 100644 --- a/functions/private/Invoke-WinUtilFeatureInstall.ps1 +++ b/functions/private/Invoke-WinUtilFeatureInstall.ps1 @@ -10,8 +10,6 @@ function Invoke-WinUtilFeatureInstall { $CheckBox ) - # $sync.form.Dispatcher.Invoke([action]{ Set-WinUtilTaskbaritem -state "Normal" -value 1/$using:CheckBox.Count }) - x = 0 $CheckBox | ForEach-Object { diff --git a/scripts/main.ps1 b/scripts/main.ps1 index 4d6e0950..c4fda9bb 100644 --- a/scripts/main.ps1 +++ b/scripts/main.ps1 @@ -161,7 +161,7 @@ $logoPath = "$env:TEMP\cttlogo.png" Invoke-WebRequest -Uri $logoUrl -OutFile $logoPath # download the check -$CheckUrl = "https://raw.githubusercontent.com/ChrisTitusTech/winutil/main/docs/assets/Check.png" +$CheckUrl = "https://raw.githubusercontent.com/MyDrift-user/winutil/Progress-bar/docs/assets/check.png" # Download the image $CheckPath = "$env:TEMP\cttcheck.png" Invoke-WebRequest -Uri $CheckUrl -OutFile $CheckPath @@ -446,7 +446,7 @@ $sync["SearchBar"].Add_TextChanged({ }) $sync["Form"].Add_Activated({ - Set-WinUtilTaskbaritem -overlay $logoPath + Set-WinUtilTaskbaritem -overlay $logoPath -state "None" }) # Define event handler for button click