fix(desktop): keep notification sounds during fullscreen apps (#2269)

This commit is contained in:
Hampus
2026-08-31 19:51:42 +02:00
committed by GitHub
parent b0b84f9c98
commit 0ca0defd24
+1 -7
View File
@@ -16,13 +16,7 @@ const execFileAsync = promisify(execFile);
const POLICY_CACHE_TTL_MS = 1_000;
const COMMAND_TIMEOUT_MS = 1_000;
const MACOS_FOCUS_DB_DIR = path.join(os.homedir(), 'Library', 'DoNotDisturb', 'DB');
const WINDOWS_SUPPRESSING_STATES = new Set([
'not-present',
'busy',
'running-d3d-full-screen',
'presentation-mode',
'quiet-time',
]);
const WINDOWS_SUPPRESSING_STATES = new Set(['not-present', 'presentation-mode', 'quiet-time']);
export interface NotificationSoundPolicy {
shouldPlaySound: boolean;