Add content protection checkbox to Settings window

This commit is contained in:
Fedor Indutny
2025-05-12 15:16:19 -07:00
committed by GitHub
parent a2c74c3a8b
commit bc3b6a07bb
10 changed files with 149 additions and 3 deletions

View File

@@ -33,6 +33,12 @@ export const isDrawAttentionSupported = (OS: OSType): boolean => !OS.isMacOS();
export const isSystemTraySupported = (OS: OSType): boolean =>
OS.isWindows() || OS.isLinux();
export const isContentProtectionSupported = (OS: OSType): boolean =>
OS.isWindows() || OS.isMacOS();
export const isContentProtectionNeeded = (OS: OSType): boolean =>
OS.isWindows();
export const getDefaultSystemTraySetting = (
OS: OSType,
appVersion: string