Description
After building an Electron application with npm run build:linux, the production executable fails to start because fs.exists() returns false for the generatedRoot directory, even though the directory exists in both app.asar and app.asar.unpacked. The development mode (npm run dev) works perfectly.
- Library Version: 1.8.0
- ROS Version: jazzy
- Platform / OS: ubuntu 24
Steps To Reproduce
source /opt/ros/jazzy/setup.bash
npm run dev
Application starts successfully
npm run build:linux
./dist/linux-arm64-unpacked/myApp
Application fails cause by const exist = await fse.exists(generatedRoot) return false
Expected Behavior
Actual Behavior