File tree Expand file tree Collapse file tree 6 files changed +63
-61
lines changed
Expand file tree Collapse file tree 6 files changed +63
-61
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
2- "name" : " SpringRollStudio" ,
3- "private" : true ,
4- "version" : " 0.2.7" ,
5- "dependencies" : {
6- "grunt" : " ^0.4.5" ,
7- "grunt-contrib-copy" : " ^0.8.0" ,
8- "grunt-contrib-jade" : " ^0.14.1" ,
9- "grunt-exec" : " ^0.4.6" ,
10- "grunt-node-webkit-builder" : " ^1.0.0" ,
11- "lodash" : " ^3.0.0" ,
12- "project-grunt" : " *"
13- }
14- }
2+ "name" : " SpringRollStudio" ,
3+ "private" : true ,
4+ "version" : " 0.2.7" ,
5+ "dependencies" : {
6+ "grunt" : " ^0.4.5" ,
7+ "grunt-appdmg" : " ^0.3.1" ,
8+ "grunt-contrib-copy" : " ^0.8.0" ,
9+ "grunt-contrib-jade" : " ^0.14.1" ,
10+ "grunt-exec" : " ^0.4.6" ,
11+ "grunt-node-webkit-builder" : " ^1.0.0" ,
12+ "lodash" : " ^3.0.0" ,
13+ "project-grunt" : " *"
14+ }
15+ }
Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ module.exports = function(grunt)
5757 tasks . push (
5858 'exec:packagewin32' ,
5959 'exec:packagewin64' ,
60- 'exec:packageosx32 ' ,
61- 'exec:packageosx64 '
60+ 'appdmg:osx32 ' ,
61+ 'appdmg:osx64 '
6262 ) ;
6363 }
6464 grunt . task . run ( tasks ) ;
Original file line number Diff line number Diff line change 1+ module . exports = {
2+ options : {
3+ "title" : "<%= project.name %>" ,
4+ "icon" : "<%= distFolder %>/assets/images/icon.icns" ,
5+ "background" : "<%= installerDir %>/assets/background.png" ,
6+ "icon-size" : 80
7+ } ,
8+ osx64 : {
9+ options : {
10+ "contents" : [
11+ {
12+ "x" : 448 ,
13+ "y" : 344 ,
14+ "type" : "link" ,
15+ "path" : "/Applications"
16+ } ,
17+ {
18+ "x" : 192 ,
19+ "y" : 344 ,
20+ "type" : "file" ,
21+ "path" : "<%= buildDir %>/<%= project.name %>/osx64/<%= project.name %>.app"
22+ }
23+ ]
24+ } ,
25+ dest : '<%= buildDir %>/<%= project.name %>-Setup-x64.dmg'
26+ } ,
27+ osx32 : {
28+ options : {
29+ "contents" : [
30+ {
31+ "x" : 448 ,
32+ "y" : 344 ,
33+ "type" : "link" ,
34+ "path" : "/Applications"
35+ } ,
36+ {
37+ "x" : 192 ,
38+ "y" : 344 ,
39+ "type" : "file" ,
40+ "path" : "<%= buildDir %>/<%= project.name %>/osx32/<%= project.name %>.app"
41+ }
42+ ]
43+ } ,
44+ dest : '<%= buildDir %>/<%= project.name %>-Setup-x32.dmg'
45+ }
46+
47+ } ;
Original file line number Diff line number Diff line change @@ -11,12 +11,6 @@ module.exports = {
1111 "packagewin64" : {
1212 cmd : 'makensis <%= installerDir %>/win64.nsi'
1313 } ,
14- "packageosx32" : {
15- cmd : 'appdmg <%= installerDir %>/osx32.json <%= buildDir %>/<%= project.name %>-Setup-x32.dmg'
16- } ,
17- "packageosx64" : {
18- cmd : 'appdmg <%= installerDir %>/osx64.json <%= buildDir %>/<%= project.name %>-Setup-x64.dmg'
19- } ,
2014 "openosx32" : {
2115 cmd : 'open <%= buildDir %>/<%= project.name %>/osx32/<%= project.name %>.app'
2216 } ,
You can’t perform that action at this time.
0 commit comments