mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 05:30:06 +08:00
23 lines
434 B
Bash
Executable File
23 lines
434 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
source script/env_deploy.sh
|
|
DEST=$DEPLOYMENT/windows-arm64
|
|
rm -rf $DEST
|
|
mkdir -p $DEST
|
|
|
|
#### copy exe ####
|
|
cp $BUILD/Throne.exe $DEST
|
|
|
|
cd download-artifact
|
|
cd *windows-arm64
|
|
tar xvzf artifacts.tgz -C ../../
|
|
cd ../..
|
|
|
|
#### deploy qt & DLL runtime ####
|
|
pushd $DEST
|
|
windeployqt Throne.exe --no-translations --no-system-d3d-compiler --no-opengl-sw --no-svg --verbose 2
|
|
popd
|
|
|
|
rm -rf $DEST/dxcompiler.dll $DEST/dxil.dll
|