mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2025-07-02 15:56:37 +00:00
spk.sh
This commit is contained in:
parent
600fcfbe3b
commit
b65009b8ea
19
spk.sh
Executable file
19
spk.sh
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
/bin/rm -rf package
|
||||||
|
mkdir package
|
||||||
|
cd package
|
||||||
|
mkdir bin logs config
|
||||||
|
echo port=21116 > config/hbbs.conf
|
||||||
|
echo key= >> config/hbbs.conf
|
||||||
|
echo port=21117 > config/hbbr.conf
|
||||||
|
echo key= >> config/hbbr.conf
|
||||||
|
cp ../target/release/hbbs bin/
|
||||||
|
cp ../target/release/hbbr bin/
|
||||||
|
strip bin/hbbs
|
||||||
|
strip bin/hbbr
|
||||||
|
tar czf ../spk/package.tgz ./*
|
||||||
|
cd ..
|
||||||
|
cd spk
|
||||||
|
VER=1.1.3
|
||||||
|
tar cf RustDeskServer-x64-$VER.spk ./*
|
||||||
|
mv RustDeskServer-x64-$VER.spk ..
|
Loading…
x
Reference in New Issue
Block a user