mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 04:54:38 +03:00
25 lines
636 B
Bash
Executable File
25 lines
636 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
source libs/deploy_common.sh
|
|
|
|
#### updater to launcher ####
|
|
mv $DEST/updater $DEST/launcher
|
|
|
|
#### copy binary ####
|
|
cp $BUILD/nekoray $DEST
|
|
|
|
#### Download: prebuilt runtime ####
|
|
curl -Lso usr.zip https://github.com/MatsuriDayo/nekoray_qt_runtime/releases/download/20220503/20220705-5.15.2-linux64.zip
|
|
unzip usr.zip
|
|
mv usr $DEST
|
|
|
|
#### copy runtime ####
|
|
LIB=$SRC_ROOT/libs/deps/built/lib
|
|
#cp $LIB/libZXing.so.1 $DEST/usr/lib
|
|
|
|
#### pack tar ####
|
|
chmod +x $DEST/nekoray $DEST/nekoray_core $DEST/launcher
|
|
tar cvzf $SRC_ROOT/deployment/$version_standalone-linux64.tar.gz -C $SRC_ROOT/deployment nekoray
|
|
rm -rf $DEST $BUILD
|