Commit c417d061 authored by Senk Ju's avatar Senk Ju

fixed bug which prevented launcher from starting after launcher core has been downloaded once

parent dda982cf
Pipeline #26 failed with stages
This diff is collapsed.
......@@ -14,7 +14,6 @@ const {
const request = require("request");
const progress = require("request-progress");
const mcFolderPath = require("minecraft-folder-path");
const mkdirp = require("mkdirp");
const tmpDir = os.tmpdir();
const appPath = remote.app.getAppPath();
......@@ -301,6 +300,8 @@ function downloadCore() {
resolve();
})
.pipe(createWriteStream(launcherCoreFolder));
} else {
resolve();
}
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment