From a145986de6038dd472e509d29f23cec925d4ac37 Mon Sep 17 00:00:00 2001 From: forehalo Date: Thu, 26 Dec 2024 20:47:58 +0800 Subject: [PATCH] ci: wrong script to build electron renderer --- packages/frontend/apps/electron/scripts/generate-assets.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/apps/electron/scripts/generate-assets.ts b/packages/frontend/apps/electron/scripts/generate-assets.ts index ebb9bec2bec03..5415d5b1e888a 100755 --- a/packages/frontend/apps/electron/scripts/generate-assets.ts +++ b/packages/frontend/apps/electron/scripts/generate-assets.ts @@ -46,7 +46,7 @@ const cwd = repoRootDir; // step 1: build web dist if (!process.env.SKIP_WEB_BUILD) { - spawnSync('yarn', ['affine', '@affine/electron', 'bundle'], { + spawnSync('yarn', ['affine', '@affine/electron-renderer', 'build'], { stdio: 'inherit', env: process.env, cwd,