Fixed launcherDir const usage

This commit is contained in:
Observer KRypt0n_ 2021-12-22 01:09:04 +02:00
parent 6a50331d59
commit dc21bd4ce2
No known key found for this signature in database
GPG key ID: DC5D4EC1303465DA

View file

@ -31,7 +31,7 @@ export default abstract class Installer
public constructor(uri: string, unpackDir: string|Promise<string>)
{
constants.paths.launcher.then((launcherDir) => {
constants.paths.launcherDir.then((launcherDir) => {
const archivePath = `${launcherDir}/${Downloader.fileFromUri(uri)}`;
// Download archive