fix: 修复漫画阅读器卡死并支持章节直读

This commit is contained in:
lofyer
2026-08-09 13:02:24 +08:00
parent 87dcc307e6
commit 763f2b02ac
13 changed files with 96 additions and 17 deletions
+4
View File
@@ -273,6 +273,10 @@ async function build() {
fs.mkdirSync(APP, { recursive: true });
fs.copyFileSync(path.join(ROOT, 'main.js'), path.join(APP, 'main.js'));
fs.copyFileSync(path.join(ROOT, 'preload.js'), path.join(APP, 'preload.js'));
fs.copyFileSync(
path.join(ROOT, 'manga-online-preload.js'),
path.join(APP, 'manga-online-preload.js')
);
copyDir(path.join(ROOT, 'src'), path.join(APP, 'src'), (e) => e.name.startsWith('_test'));
const iconDir = path.join(APP, 'icons', 'dist');
fs.mkdirSync(iconDir, { recursive: true });