blackberry / webworks-gui

GUI Tool for WebWorks 2.0
https://developer.blackberry.com/html5/
Apache License 2.0
3 stars 5 forks source link

Selecting the Target in the UI results in a "Error accessing file at ..." when there is no blackberry10.json file #163

Closed jengee closed 10 years ago

jengee commented 10 years ago

This occurs when the user had deleted the .cordova directory or when the user is using the UI (and the tool) for the first time and there is no targets defined.

Linux screen shot: screen shot 2014-04-21 at 4 51 27 pm

bryanhiggins commented 10 years ago

This was already pointed out in #149

@rcruz was there a patch for this?

bryanhiggins commented 10 years ago

I suggest the GUI uses this module for reading/writing config.

https://github.com/blackberry/cordova-blackberry/blob/v2.1.0/blackberry10/bin/lib/config.js