diff --git a/dummy b/dummy new file mode 100644 index 0000000..2f9a76d --- /dev/null +++ b/dummy @@ -0,0 +1 @@ +bluh diff --git a/server/src/main/kotlin/suwayomi/tachidesk/server/util/SystemTray.kt b/server/src/main/kotlin/suwayomi/tachidesk/server/util/SystemTray.kt index 3fc347c..774c937 100644 --- a/server/src/main/kotlin/suwayomi/tachidesk/server/util/SystemTray.kt +++ b/server/src/main/kotlin/suwayomi/tachidesk/server/util/SystemTray.kt @@ -24,6 +24,10 @@ object SystemTray { CacheUtil.clear(BuildConfig.NAME) + if (System.getProperty("os.name").startsWith("Mac")) { + SystemTray.FORCE_TRAY_TYPE = SystemTray.TrayType.Awt + } + val systemTray = SystemTray.get(BuildConfig.NAME) ?: return null val mainMenu = systemTray.menu