Skip to content

Commit 90f0f32

Browse files
committed
🐛 Fixed some issues with electronBuilder
1 parent c647c13 commit 90f0f32

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Gulpfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ gulp.task('pack:win64', function () {
191191
electronBuilder.init().build({
192192
appPath: path.join(BUILD_FOLDER, WINDOWS, ARCH_64, 'GitPie-win32-x64'),
193193
platform: 'win',
194-
config: 'app/core/packager/config.json',
194+
config: require('./app/core/packager/config'),
195195
out: releasePath
196196
},
197197
function (err) {
@@ -224,7 +224,7 @@ gulp.task('pack:win32', function () {
224224
electronBuilder.init().build({
225225
appPath: path.join(BUILD_FOLDER, WINDOWS, ARCH_32, 'GitPie-win32-ia32'),
226226
platform: 'win',
227-
config: 'app/core/packager/config.json',
227+
config: require('./app/core/packager/config'),
228228
out: releasePath
229229
},
230230
function (err) {
@@ -330,7 +330,7 @@ gulp.task('pack:osx64', function () {
330330
electronBuilder.init().build({
331331
appPath: path.join(BUILD_FOLDER, MAC, ARCH_64, 'GitPie-darwin-x64', 'GitPie.app'),
332332
platform: 'osx',
333-
config: 'app/core/packager/config.json',
333+
config: require('./app/core/packager/config'),
334334
out: releasePath
335335
},
336336
function (err) {

app/core/packager/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"win" : {
1212
"title" : "GitPie",
13-
"version" : "0.4.0",
13+
"version" : "0.5.0",
1414
"publisher": "GitPie",
1515
"icon" : "resources/images/icon.ico",
1616
"verbosity": 1,

0 commit comments

Comments
 (0)