add files
This commit is contained in:
parent
9c75bee0dd
commit
81f8c22cd3
3 changed files with 17 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
gpu-screen-recorder/gpu-screen-recorder_source/
|
||||||
BIN
gpu-screen-recorder/gsr-kms-server
Executable file
BIN
gpu-screen-recorder/gsr-kms-server
Executable file
Binary file not shown.
15
gpu-screen-recorder/install.sh
Executable file
15
gpu-screen-recorder/install.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
||||||
|
#!/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
|
||||||
|
strip gsr-kms-server
|
||||||
|
strip gpu-screen-recorder
|
||||||
|
rm -f "/usr/local/bin/gpu-screen-recorder"
|
||||||
|
install -Dm755 "gsr-kms-server" "/usr/bin/gsr-kms-server"
|
||||||
|
install -Dm755 "gpu-screen-recorder" "/usr/bin/gpu-screen-recorder"
|
||||||
|
|
||||||
|
echo "Successfully installed gpu-screen-recorder"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue