mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-08-31 01:01:41 +08:00
chore(extension): 扩展图标改用 MonkeyCode logo
原为脚手架生成的纯色占位;改用 mc-desktop/icons/source.png 等比缩放的 16/48/128 图标(工具栏图标/管理页/商店一致)。移除占位生成脚本 gen-icons.mjs 与 npm run icons(避免误跑覆盖真 logo),README 注明图标来源与更新方式。
This commit is contained in:
@@ -52,7 +52,9 @@ openssl rsa -in dev-key.pem -pubout -outform DER | base64 -w0
|
||||
openssl rsa -in dev-key.pem -pubout -outform DER | sha256sum | head -c 32 | tr '0-9a-f' 'a-p'
|
||||
```
|
||||
|
||||
图标为脚本生成的纯色占位:`npm run icons`(产物已入库,一般无需重跑)。
|
||||
图标(`src/icons/icon{16,48,128}.png`)由 MonkeyCode 源图 `mc-desktop/icons/source.png`
|
||||
缩放而来,已入库。更新方式:用 ImageMagick(`convert source.png -resize 128x128 icon128.png`)
|
||||
或任意等比缩放工具重新生成三个尺寸。
|
||||
|
||||
## 已知限制
|
||||
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
"dev": "vite build --watch",
|
||||
"build": "tsc --noEmit && vite build",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"test": "vitest run",
|
||||
"icons": "node scripts/gen-icons.mjs"
|
||||
"test": "vitest run"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/chrome": "^0.0.280",
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 15 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 79 B After Width: | Height: | Size: 741 B |
Binary file not shown.
|
Before Width: | Height: | Size: 123 B After Width: | Height: | Size: 3.6 KiB |
Reference in New Issue
Block a user