2017-11-22 10:48:40 +00:00
|
|
|
const path = require('path')
|
|
|
|
const ConfigManager = require('./configmanager')
|
|
|
|
|
|
|
|
//TODO: Resolve game directory based on windows, linux, or mac..
|
2017-12-02 07:59:25 +00:00
|
|
|
const GAME_DIRECTORY = path.join(__dirname, '..', '..', '..', 'target', 'test', 'mcfiles')
|
|
|
|
const DISTRO_DIRECTORY = path.join(GAME_DIRECTORY, 'westeroscraft.json')
|
|
|
|
const DEFAULT_CONFIG = new ConfigManager(path.join(GAME_DIRECTORY, 'config.json'))
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
GAME_DIRECTORY,
|
|
|
|
DISTRO_DIRECTORY,
|
|
|
|
DEFAULT_CONFIG
|
|
|
|
}
|