feat: update HTML structure and add favicon and icons for the extension

This commit is contained in:
Astrian Zheng 2025-05-28 13:38:36 +10:00
parent e03741a0f8
commit c34574666e
Signed by: Astrian
SSH Key Fingerprint: SHA256:rVnhx3DAKjujCwWE13aDl7uV6+9U1MvydLkNRXJrBiA
6 changed files with 14 additions and 11 deletions

View File

@ -1,13 +1,16 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="zh-CN">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="./vite.svg" /> <link rel="icon" type="image/svg+xml" href="./favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Vue + TS</title> <title>MSR Mod</title>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
<script type="module" src="./src/main.ts" crossorigin></script> <script type="module" src="http://localhost:5173/src/main.ts" crossorigin></script>
</body> </body>
</html>
</html>

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

BIN
public/icon_128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

BIN
public/icon_16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 707 B

BIN
public/icon_48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -21,16 +21,16 @@
"https://web.hycdn.cn/*" "https://web.hycdn.cn/*"
], ],
"icons": { "icons": {
"16": "vite.svg", "16": "icon_16.png",
"48": "vite.svg", "48": "icon_48.png",
"128": "vite.svg" "128": "icon_128.png"
}, },
"action": { "action": {
"default_title": "打开 MSR Mod", "default_title": "打开 MSR Mod",
"default_icon": { "default_icon": {
"16": "vite.svg", "16": "icon_16.png",
"48": "vite.svg", "48": "icon_48.png",
"128": "vite.svg" "128": "icon_128.png"
} }
}, },
"background": { "background": {