From c827b20e26e3c4e7334762dc2ae974a2ae8988cc Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 21 Jun 2025 14:18:31 +0300 Subject: [PATCH] Revert "chore(forge): add a pre-make wait as well" This reverts commit a150047432c161084392304cd52422cd27a56214. --- apps/desktop/electron-forge/forge.config.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/desktop/electron-forge/forge.config.ts b/apps/desktop/electron-forge/forge.config.ts index f9df9cacb..7b47e2dfb 100644 --- a/apps/desktop/electron-forge/forge.config.ts +++ b/apps/desktop/electron-forge/forge.config.ts @@ -213,7 +213,6 @@ const config: ForgeConfig = { } // Wait for a while to ensure the file system operations are completed. - console.log("Waiting for file system operations to complete..."); await new Promise(resolve => setTimeout(resolve, 3000)); }, // Gather all the artifacts produced by the makers and copy them to a common upload directory. @@ -240,10 +239,6 @@ const config: ForgeConfig = { fs.copyFileSync(artifactPath, outputPath); } } - }, - preMake: async () => { - console.log("Waiting for file system operations to complete..."); - await new Promise(resolve => setTimeout(resolve, 3000)); } } };