|
@@ -1,3 +1,8 @@
|
|
|
module.exports = (grunt) ->
|
|
|
require('load-grunt-config')(grunt)
|
|
|
require('./grunt-po2crx')(grunt)
|
|
|
+
|
|
|
+ grunt.registerTask 'chromium-manifest', ->
|
|
|
+ manifest = grunt.file.readJSON('overlay/manifest.json')
|
|
|
+ manifest.permissions = manifest.permissions.filter (p) -> p != 'downloads'
|
|
|
+ grunt.file.write('tmp/manifest.json', JSON.stringify(manifest))
|