Start removing specific branding.

This commit is contained in:
Daniel Scalzi
2019-03-06 00:37:31 -05:00
parent 5c0a293390
commit 644a32de37
15 changed files with 51 additions and 54 deletions

View File

@@ -5,6 +5,7 @@ const path = require('path')
const logger = require('./loggerutil')('%c[ConfigManager]', 'color: #a02d2a; font-weight: bold')
const sysRoot = process.env.APPDATA || (process.platform == 'darwin' ? process.env.HOME + '/Library/Application Support' : process.env.HOME)
// TODO change
const dataPath = path.join(sysRoot, '.westeroscraft')
// Forked processes do not have access to electron, so we have this workaround.