mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-23 04:02:14 -08:00
13 lines
350 B
JavaScript
13 lines
350 B
JavaScript
const { DistributionAPI } = require('helios-core/common')
|
|
|
|
const ConfigManager = require('./configmanager')
|
|
|
|
exports.REMOTE_DISTRO_URL = 'http://mc.westeroscraft.com/WesterosCraftLauncher/distribution.json'
|
|
|
|
const api = new DistributionAPI(
|
|
ConfigManager.getLauncherDirectory(),
|
|
exports.REMOTE_DISTRO_URL,
|
|
false
|
|
)
|
|
|
|
exports.DistroAPI = api |