4
0
mirror of https://github.com/AltarikMC/Launcher synced 2024-11-22 06:19:50 +01:00

Fix bug causing minecraft not launching + dump to 0.6.1

This commit is contained in:
Quentin Legot 2021-09-19 22:27:28 +02:00
parent 3c3f5b532b
commit a9e0a7cc37
3 changed files with 2 additions and 4 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "altarik-launcher",
"version": "0.6.0",
"version": "0.6.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,7 +1,7 @@
{
"name": "altarik-launcher",
"author": "Altarik",
"version": "0.6.0",
"version": "0.6.1",
"description": "Altarik Launcher",
"main": "src/server/main.js",
"repository": "AltarikMC/Launcher",

View File

@ -223,8 +223,6 @@ class Minecraft {
downloadMods(link, path) {
return new Promise((resolve, reject) => {
if(!navigator.onLine)
reject("offline")
axios.get(link, {responseType: "stream"}).then(res => {
if(res.status === 200) {
if(fs.existsSync(path))