feat: add desktop system tray support (#120)

This commit is contained in:
Li Wei authored and GitHub committed 2023-06-07 21:50:40 +08:00
1 parent 0100f0131d
commit b3e372326f
17 files changed
+203 -7

No files matched your search

+4
View File
@@ -41,6 +41,10 @@ class Util {
return Platform.isWindows || Platform.isLinux || Platform.isMacOS;
}
static isWindows() {
return !kIsWeb && Platform.isWindows;
}
static isMacos() {
return !kIsWeb && Platform.isMacOS;
}