fix(electron): check bundle (#3527)

This commit is contained in:
Alex Yang
2023-08-02 08:56:00 -07:00
committed by GitHub
parent db1b4d48b8
commit 33613c7041
4 changed files with 58 additions and 70 deletions
@@ -3,10 +3,11 @@ import { readdir } from 'node:fs/promises';
const outputRoot = fileURLToPath(
new URL(
'../zip-out/AFFiNE-canary.app/Contents/Resources/app',
'../out/canary/AFFiNE-canary-darwin-arm64/AFFiNE-canary.app/Contents/Resources/app',
import.meta.url
)
);
const outputList = [
[
'dist',