mirror of
https://github.com/AltarikMC/Launcher
synced 2024-11-23 06:29:51 +01:00
commit
082dfd48b1
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "altarik-launcher",
|
"name": "altarik-launcher",
|
||||||
"author": "Altarik",
|
"author": "Altarik",
|
||||||
"version": "2.1.2",
|
"version": "2.1.3",
|
||||||
"description": "Altarik Launcher",
|
"description": "Altarik Launcher",
|
||||||
"main": "src/server/main.js",
|
"main": "src/server/main.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
@ -63,7 +63,7 @@ ipcMain.on('checking-update', () => {
|
|||||||
|
|
||||||
function main () {
|
function main () {
|
||||||
if (electronStartup) {
|
if (electronStartup) {
|
||||||
install.handleSquirrelEvent(app)
|
install(app)
|
||||||
app.quit()
|
app.quit()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -64,16 +64,14 @@ export default class Minecraft {
|
|||||||
}
|
}
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
event.sender.send('loginError')
|
event.sender.send('loginError')
|
||||||
|
this.showNotification('Erreur de connexion à Mojang', err, 'error')
|
||||||
logger.error('[MS login] ' + lst(err))
|
logger.error('[MS login] ' + lst(err))
|
||||||
this.showNotification('Erreur de connexion à Mojang', lst(err), 'error')
|
|
||||||
})
|
})
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
event.sender.send('loginError')
|
event.sender.send('loginError')
|
||||||
logger.error('[MS login]' + lst(err))
|
|
||||||
this.showNotification('Une erreur de connexion à Xbox est survenue', lst(err), 'error')
|
|
||||||
if (err !== 'error.gui.closed') {
|
if (err !== 'error.gui.closed') {
|
||||||
|
this.showNotification('Une erreur de connexion à Xbox est survenue', err, 'error')
|
||||||
logger.error('[MS login] ' + lst(err))
|
logger.error('[MS login] ' + lst(err))
|
||||||
this.showNotification('Une erreur de connexion à Xbox est survenue', lst(err), 'error')
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user