Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update: Adapt tray icon to theme changes #2366

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft
34 changes: 19 additions & 15 deletions WebBasedData/screenshot-database-v2.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"package_count": {
"total": 11707,
"done": 5108,
"packages_with_icon": 5108,
"total": 11708,
"done": 5112,
"packages_with_icon": 5112,
"packages_with_screenshot": 584,
"total_screenshots": 1819
},
Expand Down Expand Up @@ -311,7 +311,7 @@
"images": []
},
"7tsp": {
"icon": "",
"icon": "https://img.informer.com/icons/png/128/3964/3964022.png",
"images": []
},
"7tt": {
Expand Down Expand Up @@ -4901,7 +4901,7 @@
"images": []
},
"betterbird": {
"icon": "https://www.betterbird.eu/betterbird.svg",
"icon": "https://cdn.meowcat285.com/public/betterbird/betterbird.png",
"images": []
},
"bettercrewlink": {
Expand Down Expand Up @@ -5145,7 +5145,7 @@
"images": []
},
"bitdefender": {
"icon": "",
"icon": "https://cdn.meowcat285.com/public/bitdefender/bitdefendericon.png",
"images": []
},
"bitdefender-usb-immunizer": {
Expand Down Expand Up @@ -8121,6 +8121,10 @@
"icon": "",
"images": []
},
"comicrack community edition": {
"icon": "https://images.freeimages.com/fic/images/icons/2804/plex/512/comicrack.png",
"images": []
},
"comicreader-plex": {
"icon": "",
"images": []
Expand Down Expand Up @@ -20933,7 +20937,7 @@
"images": []
},
"kalilinux": {
"icon": "",
"icon": "https://cdn.meowcat285.com/public/UnigetIcons/KaliLinux.png",
"images": []
},
"kalk": {
Expand Down Expand Up @@ -24742,9 +24746,9 @@
"images": []
},
"microsoft-devhome": {
"icon": "https://i.postimg.cc/g0941961/dev-home.png",
"icon": "https://cdn.meowcat285.com/public/UnigetIcons/DevHome.png",
"images": [
"https://raw.githubusercontent.com/microsoft/devhome/main/src/Assets/Preview/StoreDisplay-150.png",
"https://github.com/microsoft/devhome/blob/main/src/Assets/Preview/StoreDisplay-150.png",
"https://i.postimg.cc/6qBmSkFB/devhome-machine-config.png",
"https://i.postimg.cc/tJDMHrHW/devhome-widgets.png",
"https://i.postimg.cc/PfMcZq8J/devhome-environment-manage.png"
Expand Down Expand Up @@ -25915,7 +25919,7 @@
"images": []
},
"msedgeredirect": {
"icon": "",
"icon": "https://cdn.meowcat285.com/public/UnigetIcons/msedgeredirect.0.7.5.3.png",
"images": []
},
"mseries": {
Expand Down Expand Up @@ -26438,7 +26442,7 @@
"images": []
},
"mysql-workbench": {
"icon": "https://community.chocolatey.org/content/packageimages/mysql.workbench.8.0.31.png",
"icon": "https://cdn.meowcat285.com/public/UnigetIcons/MySQLWorkbench.png",
"images": []
},
"mysqlnotifier": {
Expand Down Expand Up @@ -30808,7 +30812,7 @@
"images": []
},
"pidgin": {
"icon": "https://community.chocolatey.org/content/packageimages/pidgin.2.14.12.png",
"icon": "",
"images": []
},
"pidgin-otr": {
Expand Down Expand Up @@ -35532,7 +35536,7 @@
"images": []
},
"sandboxie-plus": {
"icon": "https://community.chocolatey.org/content/packageimages/sandboxie-plus.install.1.7.2.png",
"icon": "https://community.chocolatey.org/content/packageimages/sandboxie-plus.install.1.14.9.png",
"images": []
},
"sandman": {
Expand Down Expand Up @@ -41570,7 +41574,7 @@
"images": []
},
"tortoisegit": {
"icon": "https://community.chocolatey.org/content/packageimages/TortoiseGit.2.14.0.0.png",
"icon": "https://cdn.meowcat285.com/public/UnigetIcons/tortoisegit.png",
"images": []
},
"tortoisegit-latest": {
Expand Down Expand Up @@ -42716,7 +42720,7 @@
"images": []
},
"unity-hub": {
"icon": "https://community.chocolatey.org/content/packageimages/unity-hub.3.4.1.png",
"icon": "https://community.chocolatey.org/content/packageimages/unity-hub.3.9.1.png",
"images": []
},
"unity-il2cpp": {
Expand Down
1 change: 1 addition & 0 deletions src/UniGetUI/Interface/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ private void LoadTrayMenu()
TrayIcon.DoubleClickCommand = ShowHideCommand;
TrayIcon.NoLeftClickDelay = true;
TrayIcon.ContextFlyout = TrayMenu;
MainApp.Instance.ThemeListener.ThemeChanged += (sender) => UpdateSystemTrayStatus();
UpdateSystemTrayStatus();
}

Expand Down