mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-03-31 17:27:05 +09:00
Only allow x11 for now
This commit is contained in:
@@ -63,6 +63,11 @@ int main(int argc, char **argv) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if(gsr_info.system_info.display_server == gsr::DisplayServer::WAYLAND) {
|
||||
fprintf(stderr, "error: Wayland is currently not supported\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
std::string resources_path;
|
||||
if(access("images/gpu_screen_recorder_logo.png", F_OK) == 0) {
|
||||
resources_path = "./";
|
||||
|
||||
Reference in New Issue
Block a user