[feat] request macOS system permissions by showing a prompt on startup

This commit is contained in:
dijunkun
2025-11-26 18:18:40 +08:00
parent 5d1e1b5667
commit 76b475450b
7 changed files with 230 additions and 3 deletions

View File

@@ -895,6 +895,12 @@ int Render::DrawMainWindow() {
UpdateNotificationWindow();
#ifdef __APPLE__
if (show_request_permission_window_) {
RequestPermissionWindow();
}
#endif
ImGui::End();
// Rendering