diff --git a/server/src/main/kotlin/ir/armor/tachidesk/server/util/SystemTray.kt b/server/src/main/kotlin/ir/armor/tachidesk/server/util/SystemTray.kt index 1556657..d51e04a 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/server/util/SystemTray.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/server/util/SystemTray.kt @@ -9,7 +9,6 @@ package ir.armor.tachidesk.server.util import dorkbox.systemTray.MenuItem import dorkbox.systemTray.SystemTray -import dorkbox.systemTray.SystemTray.TrayType import dorkbox.util.CacheUtil import dorkbox.util.Desktop import ir.armor.tachidesk.server.BuildConfig @@ -30,8 +29,8 @@ fun systemTray(): SystemTray? { try { // ref: https://github.com/dorkbox/SystemTray/blob/master/test/dorkbox/TestTray.java SystemTray.DEBUG = serverConfig.debugLogsEnabled - if (System.getProperty("os.name").startsWith("Windows")) - SystemTray.FORCE_TRAY_TYPE = TrayType.Swing +// if (System.getProperty("os.name").startsWith("Windows")) +// SystemTray.FORCE_TRAY_TYPE = TrayType.Swing CacheUtil.clear(BuildConfig.name)