HeliosLauncher/app/assets/js/distromanager.js

17 lines
568 B
JavaScript
Raw Normal View History

const { DistributionAPI } = require('helios-core/common')
const ConfigManager = require('./configmanager')
2022-12-24 19:17:30 -08:00
2023-03-20 18:24:56 -07:00
// 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(),
2023-02-25 00:28:40 -08:00
null, // Injected forcefully by the preloader.
null, // Injected forcefully by the preloader.
exports.REMOTE_DISTRO_URL,
false
)
exports.DistroAPI = api