fix: 修复漫画阅读器卡死并支持章节直读
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user