mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Merged branch linux into master
This commit is contained in:
20
gruntfile.js
20
gruntfile.js
@@ -29,10 +29,27 @@ module.exports = function (grunt) {
|
|||||||
certificatePassword: WIN_CERT_PASSWORD,
|
certificatePassword: WIN_CERT_PASSWORD,
|
||||||
noMsi: true
|
noMsi: true
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
'electron-installer-debian': {
|
||||||
|
app: {
|
||||||
|
options: {
|
||||||
|
arch: 'amd64',
|
||||||
|
categories: [
|
||||||
|
'Development',
|
||||||
|
'Utility'
|
||||||
|
],
|
||||||
|
icon: path.join(__dirname, 'resources/app.png'),
|
||||||
|
bin: 'Boostnote'
|
||||||
|
},
|
||||||
|
src: path.join(__dirname, 'dist', 'Boostnote-linux-x64'),
|
||||||
|
dest: path.join(__dirname, 'dist')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
grunt.initConfig(initConfig)
|
grunt.initConfig(initConfig)
|
||||||
grunt.loadNpmTasks('grunt-electron-installer')
|
grunt.loadNpmTasks('grunt-electron-installer')
|
||||||
|
grunt.loadNpmTasks('grunt-electron-installer-debian')
|
||||||
|
|
||||||
grunt.registerTask('compile', function () {
|
grunt.registerTask('compile', function () {
|
||||||
var done = this.async()
|
var done = this.async()
|
||||||
@@ -206,6 +223,9 @@ module.exports = function (grunt) {
|
|||||||
case 'osx':
|
case 'osx':
|
||||||
grunt.task.run(['compile', 'pack:osx', 'codesign', 'create-osx-installer', 'zip:osx'])
|
grunt.task.run(['compile', 'pack:osx', 'codesign', 'create-osx-installer', 'zip:osx'])
|
||||||
break
|
break
|
||||||
|
case 'linux':
|
||||||
|
grunt.task.run(['compile', 'pack:linux', 'electron-installer-debian'])
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -60,6 +60,7 @@
|
|||||||
"electron-release": "^2.2.0",
|
"electron-release": "^2.2.0",
|
||||||
"grunt": "^0.4.5",
|
"grunt": "^0.4.5",
|
||||||
"grunt-electron-installer": "^1.2.0",
|
"grunt-electron-installer": "^1.2.0",
|
||||||
|
"grunt-electron-installer-debian": "^0.2.0",
|
||||||
"history": "^1.17.0",
|
"history": "^1.17.0",
|
||||||
"nib": "^1.1.0",
|
"nib": "^1.1.0",
|
||||||
"react": "^0.14.3",
|
"react": "^0.14.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user