mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-01 17:10:24 +08:00
fix(electron): use explicit file sets for electron-builder 26.8 compatibility (#732)
Use explicit from/to/filter file sets instead of top-level globs to avoid a regression in electron-builder 26.8.x where dist-electron files were not being included in the asar archive.
This commit is contained in:
@@ -10,9 +10,13 @@ directories:
|
||||
afterPack: ./scripts/afterPack.cjs
|
||||
|
||||
files:
|
||||
- dist-electron/**/*
|
||||
- package.json
|
||||
- "!node_modules"
|
||||
- from: dist-electron
|
||||
to: dist-electron
|
||||
filter:
|
||||
- "**/*"
|
||||
- from: .
|
||||
filter:
|
||||
- package.json
|
||||
|
||||
asarUnpack:
|
||||
- "**/*.node"
|
||||
|
||||
Reference in New Issue
Block a user