diff --git a/apps/desktop/scripts/copy-dist.ts b/apps/desktop/scripts/copy-dist.ts index e6d18f439..010f75360 100644 --- a/apps/desktop/scripts/copy-dist.ts +++ b/apps/desktop/scripts/copy-dist.ts @@ -13,6 +13,11 @@ function log(...args: any[]) { } try { + /** + * Copy the commons. + */ + fs.copySync("../../packages/commons/build", path.join(DEST_DIR, "node_modules", "@triliumnext/commons")); + /** * Copy the server. */