File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,9 +69,16 @@ class Index {
6969 artifactName : "${productName}-${os}-${arch}.${ext}" ,
7070 extraMetadata : { main : 'app/app.js' } ,
7171 files : [ "app/**/*" , "package.json" , "LICENSE.md" ] ,
72- directories : { "output" : "dist" } ,
73- compression : 'maximum' ,
72+ directories : {
73+ "output" : "dist"
74+ } ,
75+ compression : 'normal' ,
7476 asar : true ,
77+ electronDownload : {
78+ cache : "./node_modules/.cache/electron"
79+ } ,
80+ nodeGypRebuild : false ,
81+ npmRebuild : true ,
7582 publish : [ {
7683 provider : "github" ,
7784 releaseType : 'release' ,
@@ -93,15 +100,28 @@ class Index {
93100 icon : "./app/assets/images/icon.icns" ,
94101 category : "public.app-category.games" ,
95102 identity : null ,
103+ hardenedRuntime : false ,
104+ gatekeeperAssess : false ,
105+ mergeASARs : true ,
106+ singleArchFiles : "node_modules/sqlite3/**/*" ,
96107 target : [ {
97108 target : "dmg" ,
98109 arch : "universal"
99110 } ,
100111 {
101- target : "zip" ,
112+ target : "zip" ,
102113 arch : "universal"
103114 } ]
104115 } ,
116+ dmg : {
117+ sign : false ,
118+ contents : [
119+ { x : 130 , y : 220 } ,
120+ { x : 410 , y : 220 , type : 'link' , path : '/Applications' }
121+ ] ,
122+ artifactName : "${productName}-mac-${arch}.${ext}" ,
123+ format : "ULFO"
124+ } ,
105125 linux : {
106126 icon : "./app/assets/images/icon.png" ,
107127 target : [ {
You can’t perform that action at this time.
0 commit comments