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'
|
'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:
|
userjs:
|
||||||
options: concatOptions
|
options: concatOptions
|
||||||
src: [
|
src: [
|
||||||
@ -101,7 +91,6 @@ module.exports = (grunt) ->
|
|||||||
build: [
|
build: [
|
||||||
'concat:meta'
|
'concat:meta'
|
||||||
'build-crx'
|
'build-crx'
|
||||||
'build-opera'
|
|
||||||
'build-userjs'
|
'build-userjs'
|
||||||
'build-userscript'
|
'build-userscript'
|
||||||
]
|
]
|
||||||
@ -147,7 +136,7 @@ module.exports = (grunt) ->
|
|||||||
level: 9
|
level: 9
|
||||||
pretty: true
|
pretty: true
|
||||||
expand: true
|
expand: true
|
||||||
cwd: 'builds/opera/'
|
cwd: 'builds/crx/'
|
||||||
src: '**'
|
src: '**'
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@ -187,14 +176,6 @@ module.exports = (grunt) ->
|
|||||||
'clean:tmpcrx'
|
'clean:tmpcrx'
|
||||||
]
|
]
|
||||||
|
|
||||||
grunt.registerTask 'build-opera', [
|
|
||||||
'set-build:crx'
|
|
||||||
'concat:coffee'
|
|
||||||
'coffee:script'
|
|
||||||
'concat:opera'
|
|
||||||
'clean:tmpcrx'
|
|
||||||
]
|
|
||||||
|
|
||||||
grunt.registerTask 'build-userjs', [
|
grunt.registerTask 'build-userjs', [
|
||||||
'set-build:userjs'
|
'set-build:userjs'
|
||||||
'concat:coffee'
|
'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