SkirdaElectronLauncher/app/assets/js/distromanager.js

15 lines
452 B
JavaScript
Raw Normal View History

const { DistributionAPI } = require('helios-core/common')
const ConfigManager = require('./configmanager')
2022-12-25 03:17:30 +00:00
exports.REMOTE_DISTRO_URL = 'http://mc.westeroscraft.com/WesterosCraftLauncher/distribution.json'
const api = new DistributionAPI(
ConfigManager.getLauncherDirectory(),
2023-02-25 08:28:40 +00:00
null, // Injected forcefully by the preloader.
null, // Injected forcefully by the preloader.
exports.REMOTE_DISTRO_URL,
false
)
exports.DistroAPI = api