Compare commits

...

3 Commits

Author SHA1 Message Date
Feross Aboukhadijeh
aec43c73f2 local -> roaming 2019-09-14 15:11:03 -07:00
Feross Aboukhadijeh
3baa74d3f9 logs 2019-09-14 15:00:43 -07:00
Feross Aboukhadijeh
9b91b8c76a disable bunny 2019-09-14 14:49:12 -07:00

View File

@@ -1,8 +1,12 @@
const appConfig = require('application-config')('WebTorrent') const appConfig = require('application-config')('WebTorrent')
appConfig.filePath = appConfig.filePath.replace('\\Local\\', '\\Roaming\\')
const path = require('path') const path = require('path')
const electron = require('electron') const electron = require('electron')
const arch = require('arch') const arch = require('arch')
// console.log('electron appData: ', (electron.remote ? electron.remote : electron).app.getPath('appData'))
console.log('appConfig.filePath', appConfig.filePath)
const APP_NAME = 'WebTorrent' const APP_NAME = 'WebTorrent'
const APP_TEAM = 'WebTorrent, LLC' const APP_TEAM = 'WebTorrent, LLC'
const APP_VERSION = require('../package.json').version const APP_VERSION = require('../package.json').version
@@ -34,12 +38,12 @@ module.exports = {
CONFIG_PATH: getConfigPath(), CONFIG_PATH: getConfigPath(),
DEFAULT_TORRENTS: [ DEFAULT_TORRENTS: [
{ // {
testID: 'bbb', // testID: 'bbb',
name: 'Big Buck Bunny', // name: 'Big Buck Bunny',
posterFileName: 'bigBuckBunny.jpg', // posterFileName: 'bigBuckBunny.jpg',
torrentFileName: 'bigBuckBunny.torrent' // torrentFileName: 'bigBuckBunny.torrent'
}, // },
{ {
testID: 'cosmos', testID: 'cosmos',
name: 'Cosmos Laundromat (Preview)', name: 'Cosmos Laundromat (Preview)',