Clone in a terminal:
Commit f801391
Johan Mattsson - 2013-01-26T18:49:27+00:00
f801391af8febfb056bde6df5f5cfb89ee47bdc5johan.mattsson.m@gmail.com

version for dmg file

Changed files (1)

Diff

diff --git a/mac/create_dmg.py b/mac/create_dmg.pyindex 8a7e14f..fe90807 100755--- a/mac/create_dmg.py+++ b/mac/create_dmg.py@@ -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 ()

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112