From 69578f2d5b44eaa75061801dd299a055f4f1eab7 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Thu, 25 Aug 2022 09:17:56 +0200 Subject: [PATCH] Make obs-glcapture/vkcapture execute obs-gamecapture instead --- CMakeLists.txt | 8 +------- src/obs-glcapture | 3 +++ src/obs-glcapture.in | 13 ------------- src/obs-vkcapture | 12 ++---------- 4 files changed, 6 insertions(+), 30 deletions(-) create mode 100755 src/obs-glcapture delete mode 100755 src/obs-glcapture.in diff --git a/CMakeLists.txt b/CMakeLists.txt index f07d16a..4293ceb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -107,7 +107,6 @@ target_include_directories(obs_glcapture PRIVATE $" - exit 1 -fi - -exec env LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}@CMAKE_INSTALL_PREFIX@/\$LIB" \ - LD_PRELOAD="${LD_PRELOAD}${LD_PRELOAD:+:}libobs_glcapture.so" \ - "$@" diff --git a/src/obs-vkcapture b/src/obs-vkcapture index 03c92e6..20bdcc1 100755 --- a/src/obs-vkcapture +++ b/src/obs-vkcapture @@ -1,11 +1,3 @@ #!/bin/sh - -if [ "$#" -eq 0 ]; then - programname=`basename "$0"` - echo "ERROR: No program supplied" - echo - echo "Usage: $programname " - exit 1 -fi - -exec env OBS_VKCAPTURE=1 "$@" +echo "WARNING: Please use obs-gamecapture instead." +exec obs-gamecapture "$@"