mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 19:52:14 -08:00
Change the download url of distribution.json. Modify css style and image extension.
This commit is contained in:
parent
1e00abcb3b
commit
11cce42f40
@ -57,8 +57,8 @@ If you download from the [Releases](https://github.com/peunsu/MRSLauncher/releas
|
|||||||
| Platform | File |
|
| Platform | File |
|
||||||
| -------- | ---- |
|
| -------- | ---- |
|
||||||
| Windows x64 | `MRS-Launcher-setup-VERSION.exe` |
|
| Windows x64 | `MRS-Launcher-setup-VERSION.exe` |
|
||||||
| macOS x64 | `MRS-Launcher-setup-VERSION-x64.dmg` |
|
| ~~macOS x64~~ | ~~`MRS-Launcher-setup-VERSION-x64.dmg`~~ |
|
||||||
| macOS arm64 | `MRS-Launcher-setup-VERSION-arm64.dmg` |
|
| ~~macOS arm64~~ | ~~`MRS-Launcher-setup-VERSION-arm64.dmg`~~ |
|
||||||
| Linux x64 | `MRS-Launcher-setup-VERSION.AppImage` |
|
| Linux x64 | `MRS-Launcher-setup-VERSION.AppImage` |
|
||||||
|
|
||||||
## Console
|
## Console
|
||||||
|
@ -2680,6 +2680,7 @@ input:checked + .toggleSwitchSlider:before {
|
|||||||
#newsArticleContentScrollable img,
|
#newsArticleContentScrollable img,
|
||||||
#newsArticleContentScrollable iframe {
|
#newsArticleContentScrollable iframe {
|
||||||
max-width: 95%;
|
max-width: 95%;
|
||||||
|
height: auto;
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
@ -2858,9 +2859,9 @@ input:checked + .toggleSwitchSlider:before {
|
|||||||
height: 70px;
|
height: 70px;
|
||||||
width: auto;
|
width: auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
border: 2px solid white;
|
/* border: 2px solid white; */
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-radius: 50%;
|
/* border-radius: 50%; */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Logo container styles. */
|
/* Logo container styles. */
|
||||||
|
@ -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 = 'https://launcher.mysticred.space/distribution.json'
|
exports.REMOTE_DISTRO_URL = 'https://cdn.mysticred.space/launcher/distribution.json'
|
||||||
|
|
||||||
const api = new DistributionAPI(
|
const api = new DistributionAPI(
|
||||||
ConfigManager.getLauncherDirectory(),
|
ConfigManager.getLauncherDirectory(),
|
||||||
|
@ -69,7 +69,7 @@ async function showMainUI(data){
|
|||||||
refreshServerStatus()
|
refreshServerStatus()
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
document.getElementById('frameBar').style.backgroundColor = 'rgba(0, 0, 0, 0.5)'
|
document.getElementById('frameBar').style.backgroundColor = 'rgba(0, 0, 0, 0.5)'
|
||||||
document.body.style.backgroundImage = `url('assets/images/backgrounds/${document.body.getAttribute('bkid')}.jpg')`
|
document.body.style.backgroundImage = `url('assets/images/backgrounds/${document.body.getAttribute('bkid')}.png')`
|
||||||
$('#main').show()
|
$('#main').show()
|
||||||
|
|
||||||
const isLoggedIn = Object.keys(ConfigManager.getAuthAccounts()).length > 0
|
const isLoggedIn = Object.keys(ConfigManager.getAuthAccounts()).length > 0
|
||||||
|
Loading…
Reference in New Issue
Block a user