4
0
mirror of https://github.com/AltarikMC/Launcher synced 2024-11-25 06:49:51 +01:00

Merge pull request #413 from AltarikMC/dev

2.1.7 : update dependencies after 6 months
This commit is contained in:
Quentin Legot 2024-06-29 10:11:24 +02:00 committed by GitHub
commit 4b8299e1ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 6274 additions and 4870 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ out/
.vscode/ .vscode/
*.code-workspace *.code-workspace
.idea .idea
.yarn

1
.yarnrc.yml Normal file
View File

@ -0,0 +1 @@
nodeLinker: node-modules

View File

@ -1,7 +1,7 @@
{ {
"name": "altarik-launcher", "name": "altarik-launcher",
"author": "Altarik", "author": "Altarik",
"version": "2.1.6", "version": "2.1.7",
"description": "Altarik Launcher", "description": "Altarik Launcher",
"main": "src/server/main.js", "main": "src/server/main.js",
"type": "module", "type": "module",
@ -30,32 +30,33 @@
"publish": "electron-forge publish" "publish": "electron-forge publish"
}, },
"devDependencies": { "devDependencies": {
"@electron-forge/cli": "^7.2.0", "@electron-forge/cli": "^7.4.0",
"@electron-forge/maker-squirrel": "^7.2.0", "@electron-forge/maker-squirrel": "^7.4.0",
"@electron-forge/maker-zip": "^7.2.0", "@electron-forge/maker-zip": "^7.4.0",
"@electron-forge/plugin-auto-unpack-natives": "^7.2.0", "@electron-forge/plugin-auto-unpack-natives": "^7.4.0",
"@electron-forge/publisher-github": "^7.2.0", "@electron-forge/publisher-github": "^7.4.0",
"electron": "28.2.2", "electron": "31.1.0",
"eslint": "^8.56.0", "eslint": "^9.6.0",
"eslint-config-standard": "^17.1.0", "eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1", "eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2", "eslint-plugin-n": "^17.9.0",
"eslint-plugin-promise": "^6.0.0" "eslint-plugin-promise": "^6.2.0"
}, },
"dependencies": { "dependencies": {
"decompress": "^4.2.1", "decompress": "^4.2.1",
"electron-is-dev": "^3.0.1", "electron-is-dev": "^3.0.1",
"electron-log": "^5.1.1", "electron-log": "^5.1.5",
"electron-squirrel-startup": "^1.0.0", "electron-squirrel-startup": "^1.0.1",
"extract-zip": "^2.0.1", "extract-zip": "^2.0.1",
"hasha": "^6.0.0", "hasha": "^6.0.0",
"izitoast": "^1.4.0", "izitoast": "^1.4.0",
"minecraft-launcher-core": "^3.17.3", "minecraft-launcher-core": "^3.18.1",
"msmc": "^4.1.0", "msmc": "^4.1.0",
"node-fetch": "^3.0.0", "node-fetch": "^3.3.2",
"vue": "^3.4.15" "vue": "^3.4.31"
}, },
"config": { "config": {
"forge": "./config.forge.cjs" "forge": "./config.forge.cjs"
} },
"packageManager": "yarn@4.3.1"
} }

View File

@ -6,7 +6,7 @@ import fs from 'fs'
import { join } from 'path' import { join } from 'path'
import zip from 'extract-zip' import zip from 'extract-zip'
import logger from 'electron-log' import logger from 'electron-log'
import { Auth, lst } from 'msmc' import { Auth } from 'msmc'
import decompress from 'decompress' import decompress from 'decompress'
import decompressTar from 'decompress-targz' import decompressTar from 'decompress-targz'
@ -65,13 +65,13 @@ export default class Minecraft {
}).catch(err => { }).catch(err => {
event.sender.send('loginError') event.sender.send('loginError')
this.showNotification('Erreur de connexion à Mojang', err, 'error') this.showNotification('Erreur de connexion à Mojang', err, 'error')
logger.error('[MS login] ' + lst(err)) logger.error('[MS login] ' + err)
}) })
}).catch(err => { }).catch(err => {
event.sender.send('loginError') event.sender.send('loginError')
if (err !== 'error.gui.closed') { if (err !== 'error.gui.closed') {
this.showNotification('Une erreur de connexion à Xbox est survenue', err, 'error') this.showNotification('Une erreur de connexion à Xbox est survenue', err, 'error')
logger.error('[MS login] ' + lst(err)) logger.error('[MS login] ' + err)
} }
}) })
} }

11103
yarn.lock

File diff suppressed because it is too large Load Diff