mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 19:52:14 -08:00
17 lines
568 B
JavaScript
17 lines
568 B
JavaScript
const { DistributionAPI } = require('helios-core/common')
|
|
|
|
const ConfigManager = require('./configmanager')
|
|
|
|
// Old WesterosCraft url.
|
|
// exports.REMOTE_DISTRO_URL = 'http://mc.westeroscraft.com/WesterosCraftLauncher/distribution.json'
|
|
exports.REMOTE_DISTRO_URL = 'https://helios-files.geekcorner.eu.org/distribution.json'
|
|
|
|
const api = new DistributionAPI(
|
|
ConfigManager.getLauncherDirectory(),
|
|
null, // Injected forcefully by the preloader.
|
|
null, // Injected forcefully by the preloader.
|
|
exports.REMOTE_DISTRO_URL,
|
|
false
|
|
)
|
|
|
|
exports.DistroAPI = api |