mirror of
https://github.com/AltarikMC/Launcher
synced 2025-12-13 11:41:45 +00:00
Fix bug causing minecraft not launching + dump to 0.6.1
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user