aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh1
-rwxr-xr-xinstall_ubuntu.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 0d73bf7..1984c2c 100755
--- a/install.sh
+++ b/install.sh
@@ -6,5 +6,6 @@ cd "$script_dir"
[ $(id -u) -ne 0 ] && echo "You need root privileges to run the install script" && exit 1
./build.sh
+install -Dm755 "gpu-screen-recorder" "/usr/local/bin/gpu-screen-recorder"
install -Dm755 "gpu-screen-recorder" "/usr/bin/gpu-screen-recorder"
echo "Successfully installed gpu-screen-recorder"
diff --git a/install_ubuntu.sh b/install_ubuntu.sh
index edc02ed..0e36542 100755
--- a/install_ubuntu.sh
+++ b/install_ubuntu.sh
@@ -20,6 +20,7 @@ libs="$(pkg-config --libs $dependencies) -ldl -pthread -lm"
g++ -c src/sound.cpp -O2 $includes
g++ -c src/main.cpp -O2 $includes
g++ -o gpu-screen-recorder -O2 sound.o main.o -s $libs
+install -Dm755 "gpu-screen-recorder" "/usr/local/bin/gpu-screen-recorder"
install -Dm755 "gpu-screen-recorder" "/usr/bin/gpu-screen-recorder"
echo "Successfully installed gpu-screen-recorder"