Commit f801391
version for dmg file
Changed files (1)
Diff
@@ -5,6 +5,9 @@ import shutil import subprocess import sys +sys.path.append('../')+import version+ def run(cmd): process = subprocess.Popen (cmd, shell=True) process.communicate()[0]@@ -13,9 +16,9 @@ def run(cmd): exit(1) def create_dmg ():- run("rm -rf build/mac/birdfont.dmg") - run("hdiutil create -megabytes 55 -fs HFS+ -volname birdfont build/mac/birdfont")+ run("rm -rf build/mac/birdfont-" + VERSION + ".dmg") + run("hdiutil create -megabytes 55 -fs HFS+ -volname birdfont build/mac/birdfont-" + VERSION) # run("cp -r build/mac/birdfont.app /Volumes/birdfont/") print ("Copy the files with Finder, we don't know the path here.") -create_dmg ()\ No newline at end of file+create_dmg ()