Add option to ignore device sleep

This commit is contained in:
世界
2024-02-02 11:33:19 +08:00
parent 339e37f4be
commit 70d43abd52
3 changed files with 18 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ public enum SharedPreferences {
public static let maxLogLines = Preference<Int>("max_log_lines", defaultValue: 300)
public static let alwaysOn = Preference<Bool>("always_on", defaultValue: false)
public static let ignoreDeviceSleep = Preference<Bool>("ignore_device_sleep", defaultValue: false)
#if os(macOS)
public static let showMenuBarExtra = Preference<Bool>("show_menu_bar_extra", defaultValue: true)