diff --git a/apps/desktop/electron-forge/forge.config.ts b/apps/desktop/electron-forge/forge.config.ts index cdea3cc03..7b47e2dfb 100644 --- a/apps/desktop/electron-forge/forge.config.ts +++ b/apps/desktop/electron-forge/forge.config.ts @@ -211,6 +211,9 @@ const config: ForgeConfig = { process.exit(1); } } + + // Wait for a while to ensure the file system operations are completed. + await new Promise(resolve => setTimeout(resolve, 3000)); }, // Gather all the artifacts produced by the makers and copy them to a common upload directory. async postMake(_, makeResults) {