mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-03-26 11:17:32 +08:00
[feat] request macOS system permissions by showing a prompt on startup
This commit is contained in:
@@ -895,6 +895,12 @@ int Render::DrawMainWindow() {
|
||||
|
||||
UpdateNotificationWindow();
|
||||
|
||||
#ifdef __APPLE__
|
||||
if (show_request_permission_window_) {
|
||||
RequestPermissionWindow();
|
||||
}
|
||||
#endif
|
||||
|
||||
ImGui::End();
|
||||
|
||||
// Rendering
|
||||
|
||||
Reference in New Issue
Block a user