Hightlight FOSS Apps (#4065)

* add foss tag functionality

* update applications

* update

* update

* fix

* update

* update

* fix formatting
This commit is contained in:
Eren
2026-02-17 22:35:26 +03:00
committed by GitHub
parent 5476cd928f
commit 60d31a1fe0
6 changed files with 559 additions and 268 deletions

View File

@@ -63,5 +63,12 @@ function Invoke-WPFButton {
"WPFWinUtilUninstallPSProfile" {Invoke-WinUtilUninstallPSProfile}
"WPFWinUtilSSHServer" {Invoke-WPFSSHServer}
"WPFselectedAppsButton" {$sync.selectedAppsPopup.IsOpen = -not $sync.selectedAppsPopup.IsOpen}
"WPFToggleFOSSHighlight" {
if ($sync.WPFToggleFOSSHighlight.IsChecked) {
$sync.Form.Resources["FOSSColor"] = [Windows.Media.SolidColorBrush]::new([Windows.Media.Color]::FromRgb(76, 175, 80)) # #4CAF50
} else {
$sync.Form.Resources["FOSSColor"] = $sync.Form.Resources["MainForegroundColor"]
}
}
}
}