update windows pack

This commit is contained in:
arm64v8a
2023-08-08 17:44:40 +09:00
parent df1c7cc8b4
commit 35c7cd9823
8 changed files with 11 additions and 12 deletions

View File

@@ -171,7 +171,7 @@ jobs:
curl -Lo - https://github.com/tcnksm/ghr/releases/download/v0.13.0/ghr_v0.13.0_linux_amd64.tar.gz | tar xzv curl -Lo - https://github.com/tcnksm/ghr/releases/download/v0.13.0/ghr_v0.13.0_linux_amd64.tar.gz | tar xzv
mv ghr*linux_amd64/ghr . mv ghr*linux_amd64/ghr .
#### ####
source libs/deploy_common.sh source libs/env_deploy.sh
find . -name artifacts.tgz | xargs -n1 tar xvzf find . -name artifacts.tgz | xargs -n1 tar xvzf
cd deployment cd deployment
cp -r public_res/* linux64 cp -r public_res/* linux64
@@ -195,7 +195,7 @@ jobs:
- name: Pack Debian - name: Pack Debian
if: github.event.inputs.publish != 'y' if: github.event.inputs.publish != 'y'
run: | run: |
source libs/deploy_common.sh source libs/env_deploy.sh
find . -name artifacts.tgz | xargs -n1 tar xvzf find . -name artifacts.tgz | xargs -n1 tar xvzf
cd deployment cd deployment
cp -r public_res/* linux64 cp -r public_res/* linux64
@@ -205,7 +205,7 @@ jobs:
sudo rm -rf nekoray sudo rm -rf nekoray
- name: Pack AppImage - name: Pack AppImage
run: | run: |
source libs/deploy_common.sh source libs/env_deploy.sh
find . -name artifacts.tgz | xargs -n1 tar xvzf find . -name artifacts.tgz | xargs -n1 tar xvzf
cd deployment cd deployment
cp -r public_res/* linux64 cp -r public_res/* linux64

View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -e set -e
source libs/deploy_common.sh source libs/env_deploy.sh
DEST=$DEPLOYMENT/public_res DEST=$DEPLOYMENT/public_res
rm -rf $DEST rm -rf $DEST
mkdir -p $DEST mkdir -p $DEST

View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -e set -e
source libs/deploy_common.sh source libs/env_deploy.sh
DEST=$DEPLOYMENT/linux64 DEST=$DEPLOYMENT/linux64
rm -rf $DEST rm -rf $DEST
mkdir -p $DEST mkdir -p $DEST

View File

@@ -7,7 +7,7 @@ else
ARCH="amd64" ARCH="amd64"
fi fi
source libs/deploy_common.sh source libs/env_deploy.sh
DEST=$DEPLOYMENT/macos-$ARCH DEST=$DEPLOYMENT/macos-$ARCH
rm -rf $DEST rm -rf $DEST
mkdir -p $DEST mkdir -p $DEST

View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -e set -e
source libs/deploy_common.sh source libs/env_deploy.sh
if [ "$DL_QT_VER" == "5.15" ]; then if [ "$DL_QT_VER" == "5.15" ]; then
DEST=$DEPLOYMENT/windows7-x64 DEST=$DEPLOYMENT/windows7-x64
else else
@@ -20,8 +20,8 @@ rm -rf translations
rm -rf libEGL.dll libGLESv2.dll Qt6Pdf.dll rm -rf libEGL.dll libGLESv2.dll Qt6Pdf.dll
if [ "$DL_QT_VER" != "5.15" ]; then if [ "$DL_QT_VER" != "5.15" ]; then
curl -fLSO https://github.com/MatsuriDayo/nekoray_qt_runtime/releases/download/20220503/libcrypto-3-x64.dll cp $SRC_ROOT/qtsdk/Qt/bin/libcrypto-3-x64.dll .
curl -fLSO https://github.com/MatsuriDayo/nekoray_qt_runtime/releases/download/20220503/libssl-3-x64.dll cp $SRC_ROOT/qtsdk/Qt/bin/libssl-3-x64.dll .
fi fi
popd popd

View File

@@ -3,7 +3,7 @@ cd qtsdk
if [ "$DL_QT_VER" == "5.15" ]; then if [ "$DL_QT_VER" == "5.15" ]; then
curl -LSO https://github.com/MatsuriDayo/nekoray_qt_runtime/releases/download/20220503/Qt5.15.7-Windows-x86_64-VS2019-16.11.20-20221103.7z curl -LSO https://github.com/MatsuriDayo/nekoray_qt_runtime/releases/download/20220503/Qt5.15.7-Windows-x86_64-VS2019-16.11.20-20221103.7z
else else
curl -LSO https://github.com/MatsuriDayo/nekoray_qt_runtime/releases/download/20220503/Qt6.5.1-Windows-x86_64-VS2022-17.6.2-20230601.7z curl -LSO https://github.com/MatsuriDayo/nekoray_qt_runtime/releases/download/20220503/Qt6.5.2-Windows-x86_64-VS2022-17.6.5-20230803.7z
fi fi
7z x *.7z 7z x *.7z
rm *.7z rm *.7z

View File

@@ -1,4 +1,3 @@
#### env ####
SRC_ROOT="$PWD" SRC_ROOT="$PWD"
DEPLOYMENT="$SRC_ROOT/deployment" DEPLOYMENT="$SRC_ROOT/deployment"
BUILD="$SRC_ROOT/build" BUILD="$SRC_ROOT/build"

View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -e set -e
source libs/deploy_common.sh source libs/env_deploy.sh
ENV_NEKORAY=1 ENV_NEKORAY=1
source libs/get_source_env.sh source libs/get_source_env.sh
pushd .. pushd ..