Meh. Lets just use the crx folder for Opera.
This commit is contained in:
parent
561d3a004b
commit
3535f8919b
@ -54,16 +54,6 @@ module.exports = (grunt) ->
|
||||
'tmp-<%= pkg.type %>/script.js'
|
||||
]
|
||||
|
||||
opera:
|
||||
options: concatOptions
|
||||
files:
|
||||
'builds/opera/manifest.json': 'src/General/meta/operamanifest.json'
|
||||
'builds/opera/script.js': [
|
||||
'src/General/meta/botproc.js'
|
||||
'src/General/meta/banner.js'
|
||||
'tmp-<%= pkg.type %>/script.js'
|
||||
]
|
||||
|
||||
userjs:
|
||||
options: concatOptions
|
||||
src: [
|
||||
@ -101,7 +91,6 @@ module.exports = (grunt) ->
|
||||
build: [
|
||||
'concat:meta'
|
||||
'build-crx'
|
||||
'build-opera'
|
||||
'build-userjs'
|
||||
'build-userscript'
|
||||
]
|
||||
@ -147,7 +136,7 @@ module.exports = (grunt) ->
|
||||
level: 9
|
||||
pretty: true
|
||||
expand: true
|
||||
cwd: 'builds/opera/'
|
||||
cwd: 'builds/crx/'
|
||||
src: '**'
|
||||
|
||||
clean:
|
||||
@ -187,14 +176,6 @@ module.exports = (grunt) ->
|
||||
'clean:tmpcrx'
|
||||
]
|
||||
|
||||
grunt.registerTask 'build-opera', [
|
||||
'set-build:crx'
|
||||
'concat:coffee'
|
||||
'coffee:script'
|
||||
'concat:opera'
|
||||
'clean:tmpcrx'
|
||||
]
|
||||
|
||||
grunt.registerTask 'build-userjs', [
|
||||
'set-build:userjs'
|
||||
'concat:coffee'
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 196 B |
Binary file not shown.
|
Before Width: | Height: | Size: 157 B |
Binary file not shown.
|
Before Width: | Height: | Size: 204 B |
Binary file not shown.
|
Before Width: | Height: | Size: 539 B |
@ -1,21 +0,0 @@
|
||||
{
|
||||
"name": "4chan X",
|
||||
"version": "1.2.13",
|
||||
"manifest_version": 2,
|
||||
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
||||
"icons": {
|
||||
"16": "icon16.png",
|
||||
"48": "icon48.png",
|
||||
"128": "icon128.png"
|
||||
},
|
||||
"content_scripts": [{
|
||||
"js": ["script.js"],
|
||||
"matches": ["*://api.4chan.org/*","*://boards.4chan.org/*","*://images.4chan.org/*","*://sys.4chan.org/*"],
|
||||
"all_frames": true,
|
||||
"run_at": "document_start"
|
||||
}],
|
||||
"homepage_url": "http://seaweedchan.github.io/4chan-x/",
|
||||
"permissions": [
|
||||
"storage"
|
||||
]
|
||||
}
|
||||
10613
builds/opera/script.js
10613
builds/opera/script.js
File diff suppressed because one or more lines are too long
@ -1,21 +0,0 @@
|
||||
{
|
||||
"name": "<%= meta.name %>",
|
||||
"version": "<%= version %>",
|
||||
"manifest_version": 2,
|
||||
"description": "<%= description %>",
|
||||
"icons": {
|
||||
"16": "icon16.png",
|
||||
"48": "icon48.png",
|
||||
"128": "icon128.png"
|
||||
},
|
||||
"content_scripts": [{
|
||||
"js": ["script.js"],
|
||||
"matches": <%= JSON.stringify(meta.matches) %>,
|
||||
"all_frames": true,
|
||||
"run_at": "document_start"
|
||||
}],
|
||||
"homepage_url": "<%= meta.page %>",
|
||||
"permissions": [
|
||||
"storage"
|
||||
]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user