Fixes to PR #682

- Rename 'playInVlc' preference to 'openExternalPlayer' since we
support more than just VLC now.
- Add default pref options to state.js
This commit is contained in:
Feross Aboukhadijeh
2016-08-20 01:19:50 -07:00
parent 667a04a41d
commit 2d3673ea33
5 changed files with 37 additions and 23 deletions

View File

@@ -100,7 +100,10 @@ function setupSavedState (cb) {
var saved = {
prefs: {
downloadPath: config.DEFAULT_DOWNLOAD_PATH
downloadPath: config.DEFAULT_DOWNLOAD_PATH,
isFileHandler: false,
openExternalPlayer: false,
externalPlayerPath: null
},
torrents: config.DEFAULT_TORRENTS.map(createTorrentObject),
version: config.APP_VERSION /* make sure we can upgrade gracefully later */