Skip to content

Commit

Permalink
Change the download url of distribution.json. Modify css style and im…
Browse files Browse the repository at this point in the history
…age extension.
  • Loading branch information
peunsu committed Feb 12, 2024
1 parent 1e00abc commit 11cce42
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ If you download from the [Releases](https://github.com/peunsu/MRSLauncher/releas
| Platform | File |
| -------- | ---- |
| Windows x64 | `MRS-Launcher-setup-VERSION.exe` |
| macOS x64 | `MRS-Launcher-setup-VERSION-x64.dmg` |
| macOS arm64 | `MRS-Launcher-setup-VERSION-arm64.dmg` |
| ~~macOS x64~~ | ~~`MRS-Launcher-setup-VERSION-x64.dmg`~~ |
| ~~macOS arm64~~ | ~~`MRS-Launcher-setup-VERSION-arm64.dmg`~~ |
| Linux x64 | `MRS-Launcher-setup-VERSION.AppImage` |

## Console
Expand Down
5 changes: 3 additions & 2 deletions app/assets/css/launcher.css
Original file line number Diff line number Diff line change
Expand Up @@ -2680,6 +2680,7 @@ input:checked + .toggleSwitchSlider:before {
#newsArticleContentScrollable img,
#newsArticleContentScrollable iframe {
max-width: 95%;
height: auto;
display: block;
margin: 0 auto;
}
Expand Down Expand Up @@ -2858,9 +2859,9 @@ input:checked + .toggleSwitchSlider:before {
height: 70px;
width: auto;
position: relative;
border: 2px solid white;
/* border: 2px solid white; */
box-sizing: border-box;
border-radius: 50%;
/* border-radius: 50%; */
}

/* Logo container styles. */
Expand Down
2 changes: 1 addition & 1 deletion app/assets/js/distromanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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://launcher.mysticred.space/distribution.json'
exports.REMOTE_DISTRO_URL = 'https://cdn.mysticred.space/launcher/distribution.json'

const api = new DistributionAPI(
ConfigManager.getLauncherDirectory(),
Expand Down
2 changes: 1 addition & 1 deletion app/assets/js/scripts/uibinder.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async function showMainUI(data){
refreshServerStatus()
setTimeout(() => {
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()

const isLoggedIn = Object.keys(ConfigManager.getAuthAccounts()).length > 0
Expand Down

0 comments on commit 11cce42

Please sign in to comment.