fix(electron): output check (#4547)

This commit is contained in:
Alex Yang 2023-09-30 02:02:17 -05:00 committed by GitHub
parent 19646a97af
commit aab1a1e50a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,18 +9,7 @@ const outputRoot = fileURLToPath(
); );
const outputList = [ const outputList = [
[ ['dist', ['main.js', 'helper.js', 'preload.js', 'affine.darwin-arm64.node']],
'dist',
[
'main.js',
'helper.js',
'preload.js',
'affine.darwin-arm64.node',
'plugins',
],
],
['dist/plugins', ['bookmark']],
['dist/plugins/bookmark', ['index.cjs']],
] as [entry: string, expected: string[]][]; ] as [entry: string, expected: string[]][];
await Promise.all( await Promise.all(