mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-09 08:21:50 +00:00
fix(desktop): unpack dist/ from asar so dashboard static files are servable
The dashboard backend serves HTTP 404 on all static routes (/, /assets, /health) in packaged builds because resolveWebDist() points at app.asar.unpacked/dist/, but dist/** was not listed in asarUnpack. Add dist/** to the asarUnpack glob list so electron-builder extracts the built frontend assets alongside the asar archive, making them accessible to the Express static file server at runtime. Fixes #41327
This commit is contained in:
parent
ace4b722dc
commit
53a2ac8f2d
1 changed files with 2 additions and 1 deletions
|
|
@ -166,7 +166,8 @@
|
|||
"afterSign": "scripts/notarize.cjs",
|
||||
"asarUnpack": [
|
||||
"**/*.node",
|
||||
"**/prebuilds/**"
|
||||
"**/prebuilds/**",
|
||||
"dist/**"
|
||||
],
|
||||
"mac": {
|
||||
"category": "public.app-category.developer-tools",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue