when launch apps in OSX finder, argv returns the original argument (e.g. '-psn####'), rather than the meaningful one like /path/to/app
This one is screwing things up for me. I guess the work around for now is to just throw out the args that have -psn in fron t of it.
Strip PSN from command line for Finder
fixed and will be in next release.
I'd like to suggest reopening. Docs say this: "if you open a file with your app in GUI (like file explorer in Windows, Finder in Mac and nautilus in Linux), the path of opened file will also be passed with App.argv." But actual behavior on Mac OS X 10.8.5, with node-webkit 0.8.4, is as follows:
Do this in the app:
dataPath: "/Users/sandover/Library/Application Support/mvp-instaclient"