Skip to content

Build your personal knowledge base with Trilium Notes

chore(forge): add an arbitrary wait to see if it solves some CI errors

Elian Doran4f6729857bb5
diff --git a/apps/desktop/electron-forge/forge.config.ts b/apps/desktop/electron-forge/forge.config.ts
index cdea3cc033..7b47e2dfbd 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) {