diff --git a/config/tweaks.json b/config/tweaks.json index 29729525..94790a52 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -2430,12 +2430,6 @@ "Order": "a001_", "InvokeScript": [ " - # Check if the user has administrative privileges - if (-Not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { - Write-Host \"Please run this script as an administrator.\" - return - } - # Check if System Restore is enabled for the main drive try { # Try getting restore points to check if System Restore is enabled diff --git a/functions/private/Set-WinUtilTaskbarItem.ps1 b/functions/private/Set-WinUtilTaskbarItem.ps1 index a3b88d8a..6533b0ba 100644 --- a/functions/private/Set-WinUtilTaskbarItem.ps1 +++ b/functions/private/Set-WinUtilTaskbarItem.ps1 @@ -85,6 +85,6 @@ function Set-WinUtilTaskbaritem { $sync["Form"].taskbarItemInfo.Description = $description } } catch { - #nothing + #do nothing } }