Permalink
Browse files

Adding dmg creation to packaging script to make installation easier

1 parent 6c7a12b commit c7c01487925e2dba87a26b630365d1b2dc08a35e @cvanes cvanes committed Nov 30, 2013
Binary file not shown.
Binary file not shown.
@@ -8,3 +8,13 @@ cd ../../osx_dist
mv PythonTurtle.app PythonTurtle64.app
ditto --rsrc --arch i386 PythonTurtle64.app PythonTurtle.app
rm -rf PythonTurtle64.app
+rm PythonTurtle.dmg
+
+# get the tools we need to create a dmg to make installation easier
+brew update
+brew install npm
+npm install -g appdmg
+
+# create the dmg, uses a very cool tool called appdmg (https://github.com/LinusU/node-appdmg)
+cd ../packaging_scripts
+appdmg plumbing/osx_resources/appdmg.json ../osx_dist/PythonTurtle.dmg
@@ -0,0 +1,11 @@
+{
+ "title": "PythonTurtle",
+ "app": "../../../osx_dist/PythonTurtle.app",
+ "background": "dmg_background.png",
+ "icon": "../../../src/resources/icon.icns",
+ "icons": {
+ "size": 80,
+ "app": [192, 344],
+ "alias": [448, 344]
+ }
+}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c7c0148

Please sign in to comment.