chore: change ico

This commit is contained in:
2026-05-23 09:08:44 +08:00
Unverified
parent 4c672e6238
commit 5aab48eeb1
7 changed files with 4 additions and 4 deletions
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 40 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

+2 -2
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Construct Expansion Pack Generator</title> <title>Construct Expansion Pack Generator</title>
<link rel="icon" href="image.png" type="image/x-icon"> <link rel="icon" href="image.jpg" type="image/x-icon">
<script src="libs/jszip.min.js"></script> <script src="libs/jszip.min.js"></script>
<script src="libs/spark-md5.min.js"></script> <script src="libs/spark-md5.min.js"></script>
<script src="js/utils.umd.js"></script> <script src="js/utils.umd.js"></script>
@@ -379,7 +379,7 @@
<!-- 导航栏 --> <!-- 导航栏 -->
<nav class="ov-nav"> <nav class="ov-nav">
<div class="ov-nav-brand"> <div class="ov-nav-brand">
<img src="image.png" alt="Icon"> <img src="image.jpg" alt="Icon">
<span data-i18n="OV_MAIN_TITLE">Construct Expansion Pack Generator</span> <span data-i18n="OV_MAIN_TITLE">Construct Expansion Pack Generator</span>
</div> </div>
+2 -2
View File
@@ -624,11 +624,11 @@ world.beforeEvents.chatSend.subscribe((event) => {
*/ */
async addIcon() { async addIcon() {
try { try {
const imageUrl = `./pack_icon.png`; const imageUrl = `./pack_icon.jpg`;
const response = await fetch(imageUrl); const response = await fetch(imageUrl);
if (response.ok) { if (response.ok) {
const blob = await response.blob(); const blob = await response.blob();
this.zip.file("pack_icon.png", blob); this.zip.file("pack_icon.jpg", blob);
} }
} catch (error) { } catch (error) {
console.warn(i18n[currentLang].ERROR_IMAGE_FETCH, error); console.warn(i18n[currentLang].ERROR_IMAGE_FETCH, error);
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB