Skip to content

Commit

Permalink
fix(Stop-ThemeProcesses): ignore errors
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Oct 6, 2024
1 parent bff6af6 commit 73f0c21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$windir = [Environment]::GetFolderPath('Windows')

function Stop-ThemeProcesses {
Get-Process 'SystemSettings', 'control' -EA 0 | Stop-Process -Force
Get-Process 'SystemSettings', 'control' -EA 0 | Stop-Process -Force -EA 0
}

function Set-Theme {
Expand Down

0 comments on commit 73f0c21

Please sign in to comment.