diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-04-06 15:54:08 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-04-06 15:54:08 +0200 |
commit | 756865fe13b55b585a96d415a7bb718395e221c1 (patch) | |
tree | 6d869cd2ce4c6c756799143dce26e0ec028e5799 | |
parent | e24aba6e046fc184ff6925e92a62dc2fe691dc15 (diff) |
Change back binary name to kms-server-proxy
-rwxr-xr-x | build.sh | 2 | ||||
-rw-r--r-- | main.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -6,4 +6,4 @@ cd "$script_dir" cd depends/libcap/libcap make SHARED=no GOLANG=no PTHREADS=no cd ../../../ -gcc main.c -o kms-server-proxy-1 -fstack-protector-all -O3 -s -flto -Wall -Wextra -Werror -DNDEBUG -static -static-libgcc -I./depends/libcap/libcap/include ./depends/libcap/libcap/libcap.a +gcc main.c -o kms-server-proxy -fstack-protector-all -O3 -s -flto -Wall -Wextra -Werror -DNDEBUG -static -static-libgcc -I./depends/libcap/libcap/include ./depends/libcap/libcap/libcap.a @@ -123,6 +123,7 @@ int main(int argc, char **argv) { return 1; char kms_server_proxy_local_filepath[PATH_MAX]; + /* Update kms-server-proxy-N to kms-server-proxy-N+1 on update (update that needs to run before this program launches itself) */ snprintf(kms_server_proxy_local_filepath, sizeof(kms_server_proxy_local_filepath), "%s/.local/share/gpu-screen-recorder/kms-server-proxy-1", user_homepath); if(file_has_sys_admin_capability(gsr_kms_server_filepath)) { |