The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
| 1 | import { msg } from "gt-i18n"; |
| 2 | |
| 3 | export const MAC_PERMISSION_SETTINGS_URLS = { |
| 4 | "screen-recording": |
| 5 | "x-apple.systempreferences:com.apple.preference.security?Privacy_ScreenCapture", |
| 6 | accessibility: "x-apple.systempreferences:com.apple.preference.security?Privacy_Accessibility", |
| 7 | "full-disk-access": |
| 8 | "x-apple.systempreferences:com.apple.settings.PrivacySecurity.extension?Privacy_AllFiles", |
| 9 | }; |
| 10 | |
| 11 | export type MacPermission = keyof typeof MAC_PERMISSION_SETTINGS_URLS; |
| 12 | |
| 13 | export const MAC_PERMISSION_SETUP_TITLES: Record<MacPermission, string> = { |
| 14 | "screen-recording": msg("Set up Screen Recording"), |
| 15 | accessibility: msg("Set up Accessibility"), |
| 16 | "full-disk-access": msg("Set up Full Disk Access"), |
| 17 | }; |