mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-04 21:23:07 +00:00
fix: include libs directory in Electron build extraResources
The @automaker/* packages in server-bundle/node_modules are symlinks pointing to ../../libs/. Without including the libs directory in extraResources, these symlinks are broken in the packaged app, causing 'Server failed to start' error on launch.
This commit is contained in:
@@ -141,6 +141,10 @@
|
|||||||
"from": "server-bundle/node_modules",
|
"from": "server-bundle/node_modules",
|
||||||
"to": "server/node_modules"
|
"to": "server/node_modules"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"from": "server-bundle/libs",
|
||||||
|
"to": "server/libs"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"from": "server-bundle/package.json",
|
"from": "server-bundle/package.json",
|
||||||
"to": "server/package.json"
|
"to": "server/package.json"
|
||||||
|
|||||||
Reference in New Issue
Block a user