Skip to content

Commit b4c644c

Browse files
authored
Merge pull request #560 from AutomationSolutionz/mac-app
Create `.app` for distributable MacOS application
2 parents ecab27a + 7f524d1 commit b4c644c

File tree

7 files changed

+565
-34
lines changed

7 files changed

+565
-34
lines changed

Apps/node_runner/build-mac-app.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/sh
2+
3+
ASSETS_DIR='./macos/assets'
4+
make mac
5+
mkdir $ASSETS_DIR
6+
cp ./macos/run.command $ASSETS_DIR
7+
cp ./build/ZeuZ_Node_macos $ASSETS_DIR
8+
cp ./zeuz-logo.png $ASSETS_DIR
9+
cd macos
10+
go run macapp.go -assets ./assets -bin run.command -icon ./assets/zeuz-logo.png -identifier ai.zeuz.node -name "ZeuZ Node" -o ../build
11+
cd ../
12+
rm -rf $ASSETS_DIR

0 commit comments

Comments
 (0)