Feature: Add "Full Disk Access" permission check for macOS client

This commit is contained in:
yuanyuanxiang
2026-05-01 08:41:08 +02:00
parent 9b1cb1ced9
commit 979f309497
3 changed files with 49 additions and 1 deletions

View File

@@ -26,6 +26,13 @@ public:
// Open System Preferences to Accessibility settings
static void openAccessibilitySettings();
// Check if Full Disk Access permission is granted
// Returns true if granted, false otherwise
static bool checkFullDiskAccess();
// Open System Preferences to Full Disk Access settings
static void openFullDiskAccessSettings();
// Check all required permissions
// Returns true if all permissions are granted
static bool checkAllPermissions();