From dfa7dc6659755b7a8385aad5003fd80483dd4ffe Mon Sep 17 00:00:00 2001 From: A person Date: Mon, 10 Jun 2024 22:38:19 -0400 Subject: Migrate to Meson build system --- uninstall.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'uninstall.sh') diff --git a/uninstall.sh b/uninstall.sh index 9457d1f..b8aac26 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -1,9 +1,10 @@ -#!/bin/sh +#!/bin/sh -e + +script_dir=$(dirname "$0") +cd "$script_dir" [ $(id -u) -ne 0 ] && echo "You need root privileges to run the uninstall script" && exit 1 -rm -f "/usr/bin/gsr-kms-server" -rm -f "/usr/bin/gpu-screen-recorder" -rm -f "/usr/lib/systemd/user/gpu-screen-recorder.service" +ninja -C build uninstall -echo "Successfully uninstalled gpu-screen-recorder" \ No newline at end of file +echo "Successfully uninstalled gpu-screen-recorder" -- cgit v1.2.3