mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
setup gruntfile for linux deploy & disable finder and updater
This commit is contained in:
15
gruntfile.js
15
gruntfile.js
@@ -115,6 +115,21 @@ module.exports = function (grunt) {
|
||||
done()
|
||||
})
|
||||
break
|
||||
case 'linux':
|
||||
Object.assign(opts, {
|
||||
platform: 'linux',
|
||||
icon: path.join(__dirname, 'resources/app.icns'),
|
||||
'app-category-type': 'public.app-category.developer-tools'
|
||||
})
|
||||
packager(opts, function (err, appPath) {
|
||||
if (err) {
|
||||
grunt.log.writeln(err)
|
||||
done(err)
|
||||
return
|
||||
}
|
||||
done()
|
||||
})
|
||||
break
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user