0
votes

In my project i have added a config file (JSON format) for my static values. Problem is , project is working when i type npm start, but when i build exe (using electron-builder .), it is not working

My folder structure

According to this answer Electron - How to add external files? i change my package.json but it didn't work. I have added my folder structure and package.json

enter image description here

This is the error i'm getting enter image description here

1
Hint: In your packaged app files, look for a file called "app.asar", extract it to see which file are packaged correctly and which are not.aabuhijleh
@aabuhijleh .. hey i extract it and config folder and default.json is theredamitah perera

1 Answers