mirror of
https://github.com/AltarikMC/Launcher
synced 2024-11-21 06:09:51 +01:00
Merge pull request #413 from AltarikMC/dev
2.1.7 : update dependencies after 6 months
This commit is contained in:
commit
4b8299e1ae
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@ out/
|
||||
.vscode/
|
||||
*.code-workspace
|
||||
.idea
|
||||
.yarn
|
1
.yarnrc.yml
Normal file
1
.yarnrc.yml
Normal file
@ -0,0 +1 @@
|
||||
nodeLinker: node-modules
|
33
package.json
33
package.json
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "altarik-launcher",
|
||||
"author": "Altarik",
|
||||
"version": "2.1.6",
|
||||
"version": "2.1.7",
|
||||
"description": "Altarik Launcher",
|
||||
"main": "src/server/main.js",
|
||||
"type": "module",
|
||||
@ -30,32 +30,33 @@
|
||||
"publish": "electron-forge publish"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@electron-forge/cli": "^7.2.0",
|
||||
"@electron-forge/maker-squirrel": "^7.2.0",
|
||||
"@electron-forge/maker-zip": "^7.2.0",
|
||||
"@electron-forge/plugin-auto-unpack-natives": "^7.2.0",
|
||||
"@electron-forge/publisher-github": "^7.2.0",
|
||||
"electron": "28.2.2",
|
||||
"eslint": "^8.56.0",
|
||||
"@electron-forge/cli": "^7.4.0",
|
||||
"@electron-forge/maker-squirrel": "^7.4.0",
|
||||
"@electron-forge/maker-zip": "^7.4.0",
|
||||
"@electron-forge/plugin-auto-unpack-natives": "^7.4.0",
|
||||
"@electron-forge/publisher-github": "^7.4.0",
|
||||
"electron": "31.1.0",
|
||||
"eslint": "^9.6.0",
|
||||
"eslint-config-standard": "^17.1.0",
|
||||
"eslint-plugin-import": "^2.29.1",
|
||||
"eslint-plugin-n": "^16.6.2",
|
||||
"eslint-plugin-promise": "^6.0.0"
|
||||
"eslint-plugin-n": "^17.9.0",
|
||||
"eslint-plugin-promise": "^6.2.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"decompress": "^4.2.1",
|
||||
"electron-is-dev": "^3.0.1",
|
||||
"electron-log": "^5.1.1",
|
||||
"electron-squirrel-startup": "^1.0.0",
|
||||
"electron-log": "^5.1.5",
|
||||
"electron-squirrel-startup": "^1.0.1",
|
||||
"extract-zip": "^2.0.1",
|
||||
"hasha": "^6.0.0",
|
||||
"izitoast": "^1.4.0",
|
||||
"minecraft-launcher-core": "^3.17.3",
|
||||
"minecraft-launcher-core": "^3.18.1",
|
||||
"msmc": "^4.1.0",
|
||||
"node-fetch": "^3.0.0",
|
||||
"vue": "^3.4.15"
|
||||
"node-fetch": "^3.3.2",
|
||||
"vue": "^3.4.31"
|
||||
},
|
||||
"config": {
|
||||
"forge": "./config.forge.cjs"
|
||||
}
|
||||
},
|
||||
"packageManager": "yarn@4.3.1"
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ import fs from 'fs'
|
||||
import { join } from 'path'
|
||||
import zip from 'extract-zip'
|
||||
import logger from 'electron-log'
|
||||
import { Auth, lst } from 'msmc'
|
||||
import { Auth } from 'msmc'
|
||||
import decompress from 'decompress'
|
||||
import decompressTar from 'decompress-targz'
|
||||
|
||||
@ -65,13 +65,13 @@ export default class Minecraft {
|
||||
}).catch(err => {
|
||||
event.sender.send('loginError')
|
||||
this.showNotification('Erreur de connexion à Mojang', err, 'error')
|
||||
logger.error('[MS login] ' + lst(err))
|
||||
logger.error('[MS login] ' + err)
|
||||
})
|
||||
}).catch(err => {
|
||||
event.sender.send('loginError')
|
||||
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] ' + err)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user