feat(config): download torrents directory in config

This commit is contained in:
Alexey Kasyanchuk
2018-02-08 15:36:34 +03:00
parent 63e1af9b59
commit d320448903
2 changed files with 26 additions and 2 deletions

View File

@ -1,4 +1,5 @@
import { app } from 'electron'
const os = require('os')
let config = {
indexer: true,
@ -41,7 +42,7 @@ let config = {
dbPath: '',
client: {
downloadPath: ''
downloadPath: os.homedir() + '/Downloads'
}
}