-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
qcif/data-curator
#563Labels
Description
- Version: 16.4.0
- Target: Win64 NSIS
Just updated from 15.4.3 to 16.4.0
Received the following exception on App startup (install OK):
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Unable to find a valid app at Object. ......\resources\electron.asar\browser\init....:9
If I set asar: true
, all is good.
I use asar: false
during development.
Build Config:
"build": {
"appId": "com.myapp.myapp",
"asar": false,
"productName": "My App",
"compression": "store",
"npmRebuild": false,
"win": {
"target": [
"nsis"
],
"certificateSubjectName": "My Cert",
"legalTrademarks": "My Trademark™"
},
"nsis": {
"perMachine": false,
"allowElevation": true,
"oneClick": true,
"language": "3081"
},
"directories": {
"buildResources": "resources",
"output": "package_desktop",
"app": "dist"
}
}