Update distromanager.js

This commit is contained in:
Zmyrna 2024-12-15 04:30:39 +09:00 committed by GitHub
parent 412b8f1085
commit cade9f185a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@ const ConfigManager = require('./configmanager')
// Old WesterosCraft url. // Old WesterosCraft url.
// exports.REMOTE_DISTRO_URL = 'http://mc.westeroscraft.com/WesterosCraftLauncher/distribution.json' // exports.REMOTE_DISTRO_URL = 'http://mc.westeroscraft.com/WesterosCraftLauncher/distribution.json'
exports.REMOTE_DISTRO_URL = 'http://59.26.10.62:8080/distribution.json' exports.REMOTE_DISTRO_URL = 'http://127.0.0.1:8080/distribution.json'
const api = new DistributionAPI( const api = new DistributionAPI(
ConfigManager.getLauncherDirectory(), ConfigManager.getLauncherDirectory(),
@ -14,4 +14,4 @@ const api = new DistributionAPI(
false false
) )
exports.DistroAPI = api exports.DistroAPI = api