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>
<html lang="en">
<html lang="zh-CN">
<head>
<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" />
<title>Vite + Vue + TS</title>
<title>MSR Mod</title>
</head>
<body>
<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>
</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/*"
],
"icons": {
"16": "vite.svg",
"48": "vite.svg",
"128": "vite.svg"
"16": "icon_16.png",
"48": "icon_48.png",
"128": "icon_128.png"
},
"action": {
"default_title": "打开 MSR Mod",
"default_icon": {
"16": "vite.svg",
"48": "vite.svg",
"128": "vite.svg"
"16": "icon_16.png",
"48": "icon_48.png",
"128": "icon_128.png"
}
},
"background": {