From 32a481d655713b264c3aea6c6a8cf726f34a3688 Mon Sep 17 00:00:00 2001 From: "Mark K. Kim" Date: Fri, 25 May 2018 00:48:45 -0400 Subject: [PATCH] Documentation update. --- custom/macos-mkdmg.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/custom/macos-mkdmg.sh b/custom/macos-mkdmg.sh index 27a0f6406..878764029 100755 --- a/custom/macos-mkdmg.sh +++ b/custom/macos-mkdmg.sh @@ -1,5 +1,13 @@ #!/bin/sh +############################################################################## +# Script to generate TuxPaint.dmg from TuxPaint.app. +# +# Generating a pretty DMG file programmatically is a bit of an art. Many +# thanks to the appdmg project for showing how: +# (https://github.com/LinusU/node-appdmg) +# + BUNDLE=TuxPaint.app TEMP_DMG=temp.dmg TEMP_DMG_SIZE=`expr \`du -sm "$BUNDLE" | cut -f1\` \* 15 / 10`m