mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
wip: macOS build
This commit is contained in:
21
libs/deploy_macos.sh
Executable file
21
libs/deploy_macos.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
if [[ $(uname -m) == 'arm64' ]]; then
|
||||
ARCH="arm64"
|
||||
else
|
||||
ARCH="amd64"
|
||||
fi
|
||||
|
||||
source libs/deploy_common.sh
|
||||
DEST=$DEPLOYMENT/macos-$ARCH
|
||||
rm -rf $DEST
|
||||
mkdir -p $DEST
|
||||
|
||||
#### deploy qt & DLL runtime => dmg ####
|
||||
pushd $BUILD
|
||||
macdeployqt nekoray.app -dmg -verbose=3
|
||||
popd
|
||||
|
||||
#### copy dmg ####
|
||||
cp $BUILD/*.dmg $DEST
|
||||
Reference in New Issue
Block a user