mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
update build script
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
set -e
|
||||
|
||||
source libs/deploy_common.sh
|
||||
|
||||
#### updater to launcher ####
|
||||
mv $DEST/updater $DEST/launcher
|
||||
DEST=$DEPLOYMENT/linux64
|
||||
rm -rf $DEST
|
||||
mkdir -p $DEST
|
||||
|
||||
#### copy binary ####
|
||||
cp $BUILD/nekoray $DEST
|
||||
@@ -12,13 +12,5 @@ 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
|
||||
rm 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
|
||||
|
||||
Reference in New Issue
Block a user