2022-10-01 23:24:11 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
script_dir=$(dirname "$0")
|
|
|
|
cd "$script_dir"
|
|
|
|
|
|
|
|
[ $(id -u) -ne 0 ] && echo "You need root privileges to run the install script" && exit 1
|
|
|
|
|
|
|
|
./build.sh
|
2022-10-03 23:37:08 +00:00
|
|
|
install -Dm755 "gpu-screen-recorder" "/usr/local/bin/gpu-screen-recorder"
|
2022-10-01 23:24:11 +00:00
|
|
|
install -Dm755 "gpu-screen-recorder" "/usr/bin/gpu-screen-recorder"
|
2023-03-17 16:17:14 +00:00
|
|
|
|
2023-03-30 23:11:12 +00:00
|
|
|
[ -f "/proc/driver/nvidia/version" ] && ./install_coolbits.sh
|
2022-10-01 23:24:11 +00:00
|
|
|
echo "Successfully installed gpu-screen-recorder"
|