-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Description:
The Aspect Model Editor v5.5.0 for MacBook ([aspect-model-editor-v5.5.0-mac.dmg] 168 MB Apr 30, 2024) fails to start, showing net::ERR_FILE_NOT_FOUND errors in the developer console for essential files like polyfills.js.
Cause:
The application's assets are packaged incorrectly. By inspecting the app.asar archive, it's clear the web assets are located in a /dist/apps/ame/ subdirectory instead of at the root of the archive.
Evidence:
The asar list command shows the nested file structure:
/dist/apps/ame/index.html
/dist/apps/ame/polyfills.71c53ebd0f8f7024.js
/dist/apps/ame/runtime.c548a9cc4a5b45c6.js
/dist/apps/ame/styles.d8c81d1352315a82.css
Suggested Fix:
The electron-builder configuration needs to be adjusted to map the build output directory (dist/apps/ame) to the root of the asar archive.