chore: change ico
This commit is contained in:
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 40 KiB |
+2
-2
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<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/spark-md5.min.js"></script>
|
||||
<script src="js/utils.umd.js"></script>
|
||||
@@ -379,7 +379,7 @@
|
||||
<!-- 导航栏 -->
|
||||
<nav class="ov-nav">
|
||||
<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>
|
||||
|
||||
</div>
|
||||
|
||||
+2
-2
@@ -624,11 +624,11 @@ world.beforeEvents.chatSend.subscribe((event) => {
|
||||
*/
|
||||
async addIcon() {
|
||||
try {
|
||||
const imageUrl = `./pack_icon.png`;
|
||||
const imageUrl = `./pack_icon.jpg`;
|
||||
const response = await fetch(imageUrl);
|
||||
if (response.ok) {
|
||||
const blob = await response.blob();
|
||||
this.zip.file("pack_icon.png", blob);
|
||||
this.zip.file("pack_icon.jpg", blob);
|
||||
}
|
||||
} catch (error) {
|
||||
console.warn(i18n[currentLang].ERROR_IMAGE_FETCH, error);
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 200 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 87 KiB |
Reference in New Issue
Block a user