2023-02-25 02:02:18 +00:00
|
|
|
const { DistributionAPI } = require('helios-core/common')
|
2018-07-22 15:40:15 +00:00
|
|
|
|
|
|
|
const ConfigManager = require('./configmanager')
|
2022-12-25 03:17:30 +00:00
|
|
|
|
2023-02-25 02:02:18 +00:00
|
|
|
exports.REMOTE_DISTRO_URL = 'http://mc.westeroscraft.com/WesterosCraftLauncher/distribution.json'
|
2018-07-22 15:40:15 +00:00
|
|
|
|
2023-02-25 02:02:18 +00:00
|
|
|
const api = new DistributionAPI(
|
|
|
|
ConfigManager.getLauncherDirectory(),
|
|
|
|
exports.REMOTE_DISTRO_URL,
|
|
|
|
false
|
|
|
|
)
|
2018-07-22 15:40:15 +00:00
|
|
|
|
2023-02-25 02:02:18 +00:00
|
|
|
exports.DistroAPI = api
|