Skip to content

Commit 8248b80

Browse files
committed
add icons
1 parent 19bff29 commit 8248b80

File tree

5 files changed

+13
-2
lines changed

5 files changed

+13
-2
lines changed

Diff for: icons/icon128.png

6.56 KB
Loading

Diff for: icons/icon16.png

1.81 KB
Loading

Diff for: icons/icon48.png

3.3 KB
Loading

Diff for: manifest.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,15 @@
77
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
88
"browser_action": {
99
"default_popup": "index.html",
10-
"default_title": "GitX"
10+
"default_title": "GitX",
11+
"default_icon": "icons/icon128.png"
1112
},
13+
"icons": {
14+
"16": "icons/icon16.png",
15+
"48": "icons/icon48.png",
16+
"128": "icons/icon128.png"
17+
},
18+
1219
"permissions": ["storage", "tabs"],
1320
"content_scripts": [
1421
{

Diff for: webpack.config.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ module.exports = {
4242
template: './src/index.html',
4343
filename: './index.html',
4444
}),
45-
new CopyWebpackPlugin([{ from: 'manifest.json' }, { from: 'src/background.js' }]),
45+
new CopyWebpackPlugin([
46+
{ from: 'manifest.json' },
47+
{ from: 'src/background.js' },
48+
{ from: 'icons', to: 'icons' },
49+
]),
4650
],
4751
};

0 commit comments

Comments
 (0)