mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-08 17:35:18 +00:00
extract image assets for yomitan zip
This commit is contained in:
1 parent
79deaf9372
commit
52c25992ab
11 files changed
+114
-52
No files matched your search
@@ -79,9 +79,9 @@ function LoadingDialog() {
|
||||
const dicts: YomitanDownloadDictEntry[] = [];
|
||||
|
||||
if (lang === "ja") {
|
||||
const filename = "Pixiv.zip";
|
||||
const filepath = `yomitan/${lang}/${filename}`;
|
||||
const existing = existing_dicts.find((d) => d.bundle_name === filename);
|
||||
var filename = "PixivLight.zip";
|
||||
var filepath = `yomitan/${lang}/${filename}`;
|
||||
var existing = existing_dicts.find((d) => d.bundle_name === filename);
|
||||
if (!existing) {
|
||||
// Maybe check revision update
|
||||
dicts.push({
|
||||
@@ -89,7 +89,7 @@ function LoadingDialog() {
|
||||
url:
|
||||
(await ghLatestReleaseURL(
|
||||
"MarvNC/pixiv-yomitan",
|
||||
/^Pixiv_.+\.zip$/,
|
||||
/^PixivLight_.+\.zip$/,
|
||||
).catch((e) => {
|
||||
console.error(e);
|
||||
return "";
|
||||
|
||||
Reference in new issue
Block a user