Skip to content

Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.

fix(release): avoid Windows file fsync

Leggett66d778802be3
diff --git a/apps/daemon/src/creator/presets/compiler.ts b/apps/daemon/src/creator/presets/compiler.ts
index b669c652..918f1583 100644
--- a/apps/daemon/src/creator/presets/compiler.ts
+++ b/apps/daemon/src/creator/presets/compiler.ts
@@ -729,6 +729,7 @@ async function listOutputFiles(
}
async function syncTree(root: string): Promise<void> {
+ if (process.platform === 'win32') return;
const files = await listOutputFiles(root);
for (const file of files) {
const handle = await open(path.join(root, file.path), 'r');
@@ -738,7 +739,6 @@ async function syncTree(root: string): Promise<void> {
await handle.close();
}
}
- if (process.platform === 'win32') return;
const directory = await open(root, 'r');
try {
await directory.sync();