URGENT FIX
Fixed an issue that caused the login token to become invalid on using another launcher Fixed an issue that prevented you from logging out Removed Logo Seal from the login screen (Un necessary placement) Made the status colours easy to understand. (Brighter and more vibrant colours.
This commit is contained in:
parent
71123b55a9
commit
14e266c556
@ -67,14 +67,14 @@ const statuses = [
|
|||||||
exports.statusToHex = function(status){
|
exports.statusToHex = function(status){
|
||||||
switch(status.toLowerCase()){
|
switch(status.toLowerCase()){
|
||||||
case 'green':
|
case 'green':
|
||||||
return '#a5c325'
|
return '#4DDD19'
|
||||||
case 'yellow':
|
case 'yellow':
|
||||||
return '#eac918'
|
return '#FFE300'
|
||||||
case 'red':
|
case 'red':
|
||||||
return '#c32625'
|
return '#c32625'
|
||||||
case 'grey':
|
case 'grey':
|
||||||
default:
|
default:
|
||||||
return '#848484'
|
return '#3B3B3B'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -396,20 +396,6 @@ ipcRenderer.on('MSALoginWindowReply', (event, ...args) => {
|
|||||||
// Temporary workaround
|
// Temporary workaround
|
||||||
if (loginViewOnSuccess === VIEWS.settings) {
|
if (loginViewOnSuccess === VIEWS.settings) {
|
||||||
prepareSettings()
|
prepareSettings()
|
||||||
if(hasRPC){
|
|
||||||
DiscordWrapper.updateDetails('In the Settings...')
|
|
||||||
DiscordWrapper.clearState()
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if(hasRPC){
|
|
||||||
if(ConfigManager.getSelectedServer()){
|
|
||||||
const serv = DistroManager.getDistribution().getServer(ConfigManager.getSelectedServer())
|
|
||||||
DiscordWrapper.updateDetails('Ready to Play!')
|
|
||||||
DiscordWrapper.updateState('Modpack: ' + serv.getName())
|
|
||||||
} else {
|
|
||||||
DiscordWrapper.updateDetails('Landing Screen...')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
loginViewOnSuccess = VIEWS.landing // Reset this for good measure.
|
loginViewOnSuccess = VIEWS.landing // Reset this for good measure.
|
||||||
loginCancelEnabled(false) // Reset this for good measure.
|
loginCancelEnabled(false) // Reset this for good measure.
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -7,8 +7,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="loginContent">
|
<div id="loginContent">
|
||||||
<form id="loginForm">
|
<form id="loginForm">
|
||||||
<img id="loginImageSeal" src="assets/images/SealCircle.png" />
|
<span id="loginSubheader">MOJANG LOGIN</span>
|
||||||
<span id="loginSubheader">MINECRAFT LOGIN</span>
|
|
||||||
<div class="loginFieldContainer">
|
<div class="loginFieldContainer">
|
||||||
<svg id="profileSVG" class="loginSVG" viewBox="40 37 65.36 61.43">
|
<svg id="profileSVG" class="loginSVG" viewBox="40 37 65.36 61.43">
|
||||||
<g>
|
<g>
|
||||||
|
Loading…
Reference in New Issue
Block a user