artemis-glitter
artemis-glitter copied to clipboard
Crash on Mac build when looking for vesselData.xml
The packaged 0.3.1 crashes when trying to resolve file paths when looking for the vesselData.xml file:
TypeError: Arguments to path.resolve must be strings
at Object.exports.resolve (path.js:327:15)
at Object.eval ([whatever]/artemis-glitter-0.3.1.app/Contents/Resources/app.nw/vesselData.js:13:24)
Check the values of process.execPath
and module.uri
when running on a Mac.
It looks like the problem only exists when the node-webkit is run in a sandbox. Running from source works as expected.
An alternative is using App.dataPath
from node-webkit, instead of the dir glitter is run from.