1
0
Fork 0
This commit is contained in:
Lukas Winkler 2017-08-27 20:49:16 +02:00
parent 1916f1fc28
commit 985896c2e3
8 changed files with 16 additions and 5 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
.idea/ .idea/
libs/ libs/
node_modules/ node_modules/
web-ext-artifacts/

View file

@ -7,4 +7,4 @@ before_script:
- npm install -g web-ext - npm install -g web-ext
script: script:
- jshint js/ - jshint js/
- web-ext lint --ignore-files --warnings-as-errors "libs/*" "*.sh" - web-ext lint --warnings-as-errors --ignore-files "libs/*" "**/*.sh"

5
img/generate.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
for size in 128 256 512
do
inkscape -f icon.svg -w $size -h $size -e "logo-${size}x${size}.png"
done

BIN
img/logo-128x128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
img/logo-256x256.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

BIN
img/logo-512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View file

@ -2,11 +2,12 @@
"manifest_version": 2, "manifest_version": 2,
"name": "__MSG_extention_name__", "name": "__MSG_extention_name__",
"short_name": "piwik-injector", "short_name": "piwik-injector",
"version": "3.0.0", "version": "3.1.0",
"author": "Lukas Winkler, xcv58, hromadadan", "author": "Lukas Winkler, xcv58, hromadadan",
"description": "__MSG_extention_description__", "description": "__MSG_extention_description__",
"icons": { "icons": {
"128": "img/icon256.png" "128": "img/logo-128x128.png",
"256": "img/logo-256x256.png"
}, },
"content_scripts": [ "content_scripts": [
{ {
@ -20,7 +21,10 @@
} }
], ],
"browser_action": { "browser_action": {
"default_icon": "img/icon256.png", "default_icon": {
"128": "img/logo-128x128.png",
"256": "img/logo-256x256.png"
},
"default_popup": "popup.html" "default_popup": "popup.html"
}, },
"permissions": [ "permissions": [

View file

@ -9,7 +9,8 @@
}, },
"devDependencies": {}, "devDependencies": {},
"scripts": { "scripts": {
"copy": "bash copy.sh" "copy": "bash copy.sh",
"build": "web-ext build --ignore-files '**/*.sh'"
}, },
"repository": { "repository": {
"type": "git", "type": "git",