aboutsummaryrefslogtreecommitdiff
path: root/kms
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-08-13 01:07:37 +0200
committerdec05eba <dec05eba@protonmail.com>2023-08-13 01:07:37 +0200
commit3131e041c1061a0569eecb192a5a36c4d0e674cc (patch)
tree0fb62a17c0ecec890cb754368f603c2288f0447c /kms
parent2765a5d4765415fc6ed3f41c1fd7e1137e107854 (diff)
Dont hardcore gsr-kms-server path
Diffstat (limited to 'kms')
-rw-r--r--kms/client/kms_client.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/kms/client/kms_client.c b/kms/client/kms_client.c
index f92a222..3dffa02 100644
--- a/kms/client/kms_client.c
+++ b/kms/client/kms_client.c
@@ -162,11 +162,6 @@ int gsr_kms_client_init(gsr_kms_client *self, const char *card_path) {
bool has_perm = 0;
const bool inside_flatpak = getenv("FLATPAK_ID") != NULL;
if(!inside_flatpak) {
- if(access("/usr/bin/gsr-kms-server", F_OK) != 0) {
- fprintf(stderr, "gsr error: gsr_kms_client_init: /usr/bin/gsr-kms-server not found, please install gpu-screen-recorder first\n");
- return -1;
- }
-
if(geteuid() == 0) {
has_perm = true;
} else {