Add preferences page

* For now, the prefs page has just a single option, Downloads Folder
* For now, you can't type in a folder, you must use the chooser
* Further fixes coming om master
* Written by @ChrisMorrisOrg and @grunjol, rebased by @dcposch
This commit is contained in:
grunjol
2016-04-14 22:02:24 -03:00
committed by DC
parent 455c9c02b9
commit 12f9709601
8 changed files with 395 additions and 9 deletions

View File

@@ -266,9 +266,11 @@ function getDefaultSavedState () {
]
}
],
downloadPath: config.IS_PORTABLE
? path.join(config.CONFIG_PATH, 'Downloads')
: remote.app.getPath('downloads')
prefs: {
downloadPath: config.IS_PORTABLE
? path.join(config.CONFIG_PATH, 'Downloads')
: remote.app.getPath('downloads')
}
}
}