File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,5 @@ user_data_highest_beaten_level
88bundler /node_modules
99docs
1010.vscode
11+ bundler /Gravitron.app
12+ bundler /Gravitron.zip
Original file line number Diff line number Diff line change 11rm -rf Gravitron.app
22./macapp.sh Gravitron icon.png
3- cp ../lib/bs/native/prod.native Gravitron.app/Contents/MacOS/Gravitron
3+ DEST=Gravitron.app/Contents/MacOS
4+ cp ../lib/bs/native/prod.native $DEST /Gravitron
5+ SDL_PATH=` otool -L $DEST /Gravitron | grep libSDL | sed -e ' s/(.*//' | sed -e ' s/[[:space:]]//g' `
6+ install_name_tool -change $SDL_PATH @executable_path/libSDL2-2.0.0.dylib $DEST /Gravitron
7+ cp $SDL_PATH $DEST /libSDL2-2.0.0.dylib
48cp -r ../assets Gravitron.app/Contents/MacOS/
9+ zip -r Gravitron.zip Gravitron.app
Original file line number Diff line number Diff line change 1010 "clean" : " bsb -clean-world" ,
1111 "js" : " ./node_modules/bs-platform/bin/bsb -backend js -make-world && webpack" ,
1212 "deploy" : " npm run js && cp assets/* docs/assets && cd docs && surge . -d gravitron.surge.sh" ,
13+ "deploy-native" : " npm run build:native && cd bundler && ./bundle.sh" ,
1314 "byte" : " ./node_modules/bs-platform/bin/bsb -w -make-world"
1415 },
1516 "keywords" : [
You can’t perform that action at this time.
0 commit comments