-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
916574f
commit f8edfd0
Showing
10 changed files
with
64 additions
and
2 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>band-size</key> | ||
<integer>8388608</integer> | ||
<key>bundle-backingstore-version</key> | ||
<integer>1</integer> | ||
<key>diskimage-bundle-type</key> | ||
<string>com.apple.diskimage.sparsebundle</string> | ||
<key>size</key> | ||
<integer>100020736</integer> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>band-size</key> | ||
<integer>8388608</integer> | ||
<key>bundle-backingstore-version</key> | ||
<integer>1</integer> | ||
<key>diskimage-bundle-type</key> | ||
<string>com.apple.diskimage.sparsebundle</string> | ||
<key>size</key> | ||
<integer>100020736</integer> | ||
</dict> | ||
</plist> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
|
||
APPNAME="Beacon"; | ||
PARENT=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ); | ||
SOURCE="${PARENT}/../../Project/Builds - Beacon.xojo_project/Mac OS X (Cocoa Intel)"; | ||
DEST="/Volumes/${APPNAME}"; | ||
OUTPUT="${PARENT}/Output"; | ||
|
||
if [ ! -d "${SOURCE}/${APPNAME}.app" ]; then | ||
echo "Make a client build with Xojo first."; | ||
exit; | ||
fi | ||
|
||
mkdir -p "${OUTPUT}"; | ||
|
||
hdiutil convert "${PARENT}/${APPNAME}.sparsebundle" -format UDSP -o "${OUTPUT}/${APPNAME}.sparseimage"; | ||
hdiutil mount "${OUTPUT}/${APPNAME}.sparseimage"; | ||
if [ -e "${DEST}/${APPNAME}.app/Contents" ]; then | ||
rm -rf "${DEST}/${APPNAME}.app/Contents"; | ||
fi | ||
cp -R "${SOURCE}/${APPNAME}.app/Contents" "${DEST}/${APPNAME}.app"; | ||
find "${DEST}/${APPNAME}.app" -type d -exec chmod 755 {} +; | ||
find "${DEST}/${APPNAME}.app" -type f -exec chmod 644 {} +; | ||
|
||
hdiutil eject "${DEST}"; | ||
if [ -e "${OUTPUT}/${APPNAME}.dmg" ]; then | ||
rm -rf "${OUTPUT}/${APPNAME}.dmg"; | ||
fi | ||
hdiutil convert "${OUTPUT}/${APPNAME}.sparseimage" -format UDBZ -o "${OUTPUT}/${APPNAME}.dmg"; | ||
hdiutil internet-enable -yes "${OUTPUT}/${APPNAME}.dmg"; | ||
rm -rf "${OUTPUT}/${APPNAME}.sparseimage"; |