Compare commits
3 Commits
esm
...
feross-tes
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aec43c73f2 | ||
|
|
3baa74d3f9 | ||
|
|
9b91b8c76a |
@@ -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)',
|
||||||
|
|||||||
Reference in New Issue
Block a user