Added option to change data folder location. (#17)

Removed commonDirectory.
Removed instanceDirectory.
Added dataDirectory. The common and instance directories are now resolved from this.
The config.json and distribution.json are now stored in Electron's data folder (app.getPath('userData')).
Users can edit the dataDirectory under launcher settings.
This commit is contained in:
Daniel Scalzi
2019-01-04 14:25:27 -05:00
parent e12197526d
commit de15440e6d
7 changed files with 223 additions and 143 deletions

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "westeroscraftlauncher",
"version": "1.4.2",
"version": "1.5.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {