feat(zip): place images inside Scans/ folder in archive

Files are now stored as Scans/<filename> instead of being placed
directly in the ZIP root, producing a cleaner folder structure
on extraction. Bump version to 2.9.4.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-21 10:34:41 +10:00
parent a227f923ea
commit 11605dad50
+2 -2
View File
@@ -1,7 +1,7 @@
// ==UserScript==
// @name VGMdb Album Downloader
// @namespace https://vgmdb.net/
// @version 2.9.3
// @version 2.9.4
// @description 支持 单张下载 & zip 打包 & 实时进度显示 & 图片重命名
// @match https://vgmdb.net/album/*
// @grant GM_xmlhttpRequest
@@ -191,7 +191,7 @@
});
});
await new Promise(res => setTimeout(res, 400));
zipFiles.push({ name: filename, lastModified: new Date(), input: blob });
zipFiles.push({ name: `Scans/${filename}`, lastModified: new Date(), input: blob });
log(T.added(filename));
} else {
GM_download({