mirror of
https://github.com/AltarikMC/Launcher
synced 2024-11-21 06:09:51 +01:00
Fix bug causing minecraft not launching + dump to 0.6.1
This commit is contained in:
parent
3c3f5b532b
commit
a9e0a7cc37
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "altarik-launcher",
|
||||
"version": "0.6.0",
|
||||
"version": "0.6.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -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",
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user