Files
@ 41381c24d35a
Branch filter:
Location: ATITD-Tools/Desert-Paint-Lab/mac/build-mac-bundle.sh - annotation
41381c24d35a
1.1 KiB
application/x-sh
Now supports all the interface sizes with a setting to select the current interface size. The initial screen size check now displays the detected resolution as a hint. The screen size check / interface size settings can now be updated after launch through File->Preferences. Capturing a reaction now includes a progress bar, and runs in a separate thread instead of silently blocking. The reaction status window under 'Help' now has options to disable ingredients to remove them from the list. NOTE: this also disables/enables those ingredients in the recipe generator as well. The list also updates as new reactions are recorded instead of requiring that it be closed and re-opened to update.
1cc5b7a49ff3 1cc5b7a49ff3 3f17947ff066 3f17947ff066 1cc5b7a49ff3 1cc5b7a49ff3 3f17947ff066 1cc5b7a49ff3 3f17947ff066 3f17947ff066 3f17947ff066 3f17947ff066 3f17947ff066 1cc5b7a49ff3 1cc5b7a49ff3 1cc5b7a49ff3 1cc5b7a49ff3 1cc5b7a49ff3 1cc5b7a49ff3 1cc5b7a49ff3 1cc5b7a49ff3 71732f305328 1cc5b7a49ff3 7b2e8ac4935e 7b2e8ac4935e 1cc5b7a49ff3 1cc5b7a49ff3 3f17947ff066 | #!/bin/sh
if [ $# -ne 2 ]; then
echo "Usage: $0 <version> <build_name>"
exit 1
fi
VERSION=$1
BUILD_NAME=$2
if [ -d bin/DesertPaintLab.app ]; then
mkdir -p old
/bin/mv bin/DesertPaintLab.app old/DesertPaintLab.app.`/bin/date +"%Y%m%d%H%M%S"`
fi
/bin/mkdir -p bin/DesertPaintLab.app
/bin/mkdir -p bin/DesertPaintLab.app/Contents/MacOS
/bin/cp Info.plist bin/DesertPaintLab.app/Contents/Info.plist
/bin/cp launcher.sh bin/DesertPaintLab.app/Contents/MacOS
/bin/chmod 755 bin/DesertPaintLab.app/Contents/MacOS/launcher.sh
/bin/cp ../bin/Release/DesertPaintLab.exe bin/DesertPaintLab.app/Contents/MacOS/
/bin/mkdir -p bin/DesertPaintLab.app/Contents/Resources
/bin/cp -r ../data bin/DesertPaintLab.app/Contents/Resources/data
/usr/bin/defaults write `pwd`/bin/DesertPaintLab.app/Contents/Info.plist CFBundleShortVersionString ${VERSION}
/usr/bin/defaults write `pwd`/bin/DesertPaintLab.app/Contents/Info.plist CFBundleVersion ${VERSION}
# package up into a DMG
/usr/bin/hdiutil create -volname DesertPaintLab -srcfolder bin/ -ov -format UDIF -fs HFS+ ../publish/DesertPaintLab_${BUILD_NAME}.dmg
|