Compare commits

...

3 Commits

Author SHA1 Message Date
quexeky
42ff3b1331 feat: Add NO_TRAY_ICON to compilation to disable tray in binary
Signed-off-by: quexeky <git@quexeky.dev>
2025-09-25 19:30:54 +10:00
quexeky
db485b946b Merge branch 'develop' into 113-bug-libayatana-is-a-lazy-dependency-instead-of-a-linked-one 2025-09-25 19:30:07 +10:00
quexeky
346ee1dddc chore: Added libayatana-appindicator3.so.1 to appimage files
Signed-off-by: quexeky <git@quexeky.dev>
2025-08-09 10:46:24 +10:00
2 changed files with 11 additions and 0 deletions

View File

@@ -486,6 +486,9 @@ fn run_on_tray<T: FnOnce()>(f: T) {
if match std::env::var("NO_TRAY_ICON") { if match std::env::var("NO_TRAY_ICON") {
Ok(s) => s.to_lowercase() != "true", Ok(s) => s.to_lowercase() != "true",
Err(_) => true, Err(_) => true,
} || match option_env!("NO_TRAY_ICON") {
Some(s) => s.to_lowercase() != "true",
None => true,
} { } {
(f)(); (f)();
} }

View File

@@ -38,6 +38,14 @@
}, },
"wix": null "wix": null
}, },
"linux": {
"appimage": {
"bundleMediaFramework": false,
"files": {
"/usr/lib/libayatana-appindicator3.so.1": "/usr/lib/libayatana-appindicator3.so.1"
}
}
},
"icon": [ "icon": [
"icons/32x32.png", "icons/32x32.png",
"icons/128x128.png", "icons/128x128.png",