mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-08 12:20:20 +08:00
fix(electron): explicitly include package.json in asar for electron-builder 26.8 (#731)
electron-builder 26.8.x no longer auto-includes package.json when a custom files array is specified, causing the main entry file to not be found in the asar archive.
This commit is contained in:
@@ -11,6 +11,7 @@ afterPack: ./scripts/afterPack.cjs
|
||||
|
||||
files:
|
||||
- dist-electron/**/*
|
||||
- package.json
|
||||
- "!node_modules"
|
||||
|
||||
asarUnpack:
|
||||
|
||||
Reference in New Issue
Block a user