fix: plugin icon

This commit is contained in:
linyuchen
2024-03-12 08:35:41 +08:00
parent ba482d492f
commit 0130b8f6f7
2 changed files with 4 additions and 2 deletions

View File

@@ -28,7 +28,9 @@ let config = {
'./lib-cov/fluent-ffmpeg': './lib/fluent-ffmpeg' './lib-cov/fluent-ffmpeg': './lib/fluent-ffmpeg'
}, },
}, },
plugins: [cp({ targets: [...external.map(genCpModule), { src: './manifest.json', dest: 'dist' }] })] plugins: [cp({ targets: [...external.map(genCpModule),
{ src: './manifest.json', dest: 'dist' }, {src: './icon.jpg', dest: 'dist' }]
})]
}, },
preload: { preload: {
// vite config options // vite config options

View File

@@ -5,7 +5,7 @@
"slug": "LLOneBot", "slug": "LLOneBot",
"description": "LiteLoaderQQNT的OneBotApi", "description": "LiteLoaderQQNT的OneBotApi",
"version": "3.14.0", "version": "3.14.0",
"icon": "./icon.png", "icon": "./icon.jpg",
"authors": [ "authors": [
{ {
"name": "linyuchen", "name": "linyuchen",