Skip to content

Commit 041cb63

Browse files
committed
Fix missing icon
1 parent 420bbcf commit 041cb63

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
"description": "Log the current tab and your browser activity with ActivityWatch.",
77
"version": "0.4.8",
88
"icons": {
9-
"128": "media/logo/logo-128.png"
9+
"128": "logo-128.png"
1010
},
1111

1212
"{{chrome}}.action": {
13-
"default_icon": { "128": "media/logo/logo-128.png" },
13+
"default_icon": { "128": "logo-128.png" },
1414
"default_popup": "src/popup/index.html"
1515
},
1616
"{{firefox}}.browser_action": {
17-
"default_icon": "media/logo/logo-128.png",
17+
"default_icon": "logo-128.png",
1818
"default_popup": "src/popup/index.html"
1919
},
2020

vite.config.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,13 @@ export default defineConfig({
2727
},
2828
plugins: [
2929
webExtension({
30-
assets: 'media',
3130
webExtConfig: loadWebExtConfig(),
3231
manifest: generateManifest,
33-
additionalInputs: ['src/consent/index.html', 'src/consent/main.ts'],
32+
additionalInputs: [
33+
'src/consent/index.html',
34+
'src/consent/main.ts',
35+
'media/logo/logo-128.png',
36+
],
3437
browser: process.env.VITE_TARGET_BROWSER,
3538
}),
3639
],

0 commit comments

Comments
 (0)