Add wakelock feature to prevent system sleep while Goose is working (#3321)

Signed-off-by: Simon Sickle <51972200+simonsickle@users.noreply.github.com>
This commit is contained in:
Simon Sickle
2025-07-17 04:09:08 -04:00
committed by GitHub
parent 9351027d1b
commit 759cbc7acb
4 changed files with 71 additions and 7 deletions
+2
View File
@@ -16,6 +16,7 @@ export interface Settings {
showDockIcon: boolean;
schedulingEngine: SchedulingEngine;
showQuitConfirmation: boolean;
enableWakelock: boolean;
}
// Constants
@@ -30,6 +31,7 @@ const defaultSettings: Settings = {
showDockIcon: true,
schedulingEngine: 'builtin-cron',
showQuitConfirmation: true,
enableWakelock: false,
};
// Settings management