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
+2 -2
View File
@@ -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);