Remove local file preference storage and cleanup Invoke-WinutilThemeChange (#4617)

* Remove local file preference storage

* Update main.ps1

* Update main.ps1

* Update Set-Preferences.ps1

* Update main.ps1

* Update Set-Preferences.ps1

* Update main.ps1

* Delete functions/private/Set-Preferences.ps1

* simplify Invoke-WinutilThemeChange.ps1

* fix foss highlight in Invoke-WinutilThemeChange.ps1

* Update Invoke-WinutilThemeChange.ps1

* Update Invoke-WinutilThemeChange.ps1

* Update main.ps1

---------

Co-authored-by: Chris Titus <contact@christitus.com>
This commit is contained in:
Gabi
2026-07-02 13:04:50 -05:00
committed by GitHub
co-authored by Chris Titus
parent 727ba52a4d
commit de6652adc0
4 changed files with 4 additions and 161 deletions
@@ -124,7 +124,6 @@ function Invoke-WinutilThemeChange {
}
$sync.preferences.theme = $theme
Set-Preferences -save
Set-WinutilTheme -currentTheme "shared"
switch ($sync.preferences.theme) {