build: fix electron release build process (#2408)

This commit is contained in:
LongYinan
2023-05-17 17:22:49 +08:00
parent 0c5c1a5511
commit 877b87aae0
6 changed files with 71 additions and 86 deletions

View File

@@ -32,9 +32,6 @@ if (process.platform === 'win32') {
cd(repoRootDir);
// step 1: build electron resources
await $`yarn workspace @affine/electron build-layers`;
// step 2: build web (nextjs) dist
if (!process.env.SKIP_WEB_BUILD) {
process.env.ENABLE_LEGACY_PROVIDER = 'false';