feat(distro): change distribution url
This commit is contained in:
parent
e06effcd5a
commit
b57e729e43
Binary file not shown.
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 3.9 MiB |
@ -4,7 +4,7 @@ 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'
|
||||
exports.REMOTE_DISTRO_URL = 'https://cdn.marcusk.fun/distribution.json'
|
||||
|
||||
const api = new DistributionAPI(
|
||||
ConfigManager.getLauncherDirectory(),
|
||||
|
@ -149,7 +149,7 @@ function updateSelectedAccount(authUser){
|
||||
username = authUser.displayName
|
||||
}
|
||||
if(authUser.uuid != null){
|
||||
document.getElementById('avatarContainer').style.backgroundImage = `url('https://mc-heads.net/body/${authUser.uuid}/right')`
|
||||
document.getElementById('avatarContainer').style.backgroundImage = `url('https://minecraftpfp.com/api/pfp/${authUser.displayName}.png')`
|
||||
}
|
||||
}
|
||||
user_text.innerHTML = username
|
||||
|
BIN
build/icon.png
BIN
build/icon.png
Binary file not shown.
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 282 KiB |
Loading…
Reference in New Issue
Block a user