From c4e247210b1acaefb9440fc50b0a6802f4b92fbd Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 8 Apr 2023 06:23:57 +0200 Subject: remove pkexec check --- src/main.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index d5b9313..f10d522 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2487,15 +2487,6 @@ static void activate(GtkApplication *app, gpointer userdata) { g_application_quit(G_APPLICATION(app)); return; } - } else { - if(!is_pkexec_installed()) { - GtkWidget *dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, - "pkexec needs to be installed to record a monitor on systems with AMD/Intel GPU. Please install polkit which provides pkexec."); - gtk_dialog_run(GTK_DIALOG(dialog)); - gtk_widget_destroy(dialog); - g_application_quit(G_APPLICATION(app)); - return; - } } std::string window_title = "GPU Screen Recorder | Running on "; -- cgit v1.2.3