You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can then just store that absolute path for later use.
But it seems more useful and consistent for App.dataPath to always return an absolute path. In addition, I'm concerned there might be gotcha's here somehow (what if I launch from a shortcut or symlink, will I always safely resolve to the correct path in my app under all circumstances/platforms?).
This is probably mostly an issue for portable apps, ie running from a thumb drive and saving settings alongside the app.
Also, I'm wondering if it could be related to #800.
BTW, it can't be said enough, but many thanks for this awesome project! :)
In 0.13 we changed to an optimized architecture so more features can be supported, see http://nwjs.io/blog/whats-new-in-0.13/ and it's good for keeping up with Chromium upstream -- we released with Node.js v6.0 and new Chromium versions within 1 day after upstream release.
The new version would fixed many issues reported here and we're scrubbing them. This issue is closed as we believe it should be fixed. Please leave a message if it isn't and we'll reopen it.
This is on Windows with 0.7.5, using the inspector console.
Not setting
data-path
:Setting
--data-path
to./data
inchromium-args
(same output setting the switch on nw.exe)I can resolve this just fine on startup.
I can then just store that absolute path for later use.
But it seems more useful and consistent for
App.dataPath
to always return an absolute path. In addition, I'm concerned there might be gotcha's here somehow (what if I launch from a shortcut or symlink, will I always safely resolve to the correct path in my app under all circumstances/platforms?).This is probably mostly an issue for portable apps, ie running from a thumb drive and saving settings alongside the app.
Also, I'm wondering if it could be related to #800.
BTW, it can't be said enough, but many thanks for this awesome project! :)
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: