Launcher/app/assets/js/distromanager.js
2024-08-14 01:52:25 +09:00

17 lines
675 B
JavaScript

const { DistributionAPI } = require('helios-core/common')
const ConfigManager = require('./configmanager')
// Old WesterosCraft url. 외부 http://pocketisles.kro.kr/nebula/distribution.json 내부 http://192.168.219.109/nebula/distribution.json
// exports.REMOTE_DISTRO_URL = 'http://mc.westeroscraft.com/WesterosCraftLauncher/distribution.json'
exports.REMOTE_DISTRO_URL = 'http://pocketisles.kro.kr/nebula/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