From dc21bd4ce20293fade5a1c12692ebb20c0c5e240 Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Wed, 22 Dec 2021 01:09:04 +0200 Subject: [PATCH] Fixed launcherDir const usage --- src/ts/AbstractInstaller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/AbstractInstaller.ts b/src/ts/AbstractInstaller.ts index 68c35d1..d260e0b 100644 --- a/src/ts/AbstractInstaller.ts +++ b/src/ts/AbstractInstaller.ts @@ -31,7 +31,7 @@ export default abstract class Installer public constructor(uri: string, unpackDir: string|Promise) { - constants.paths.launcher.then((launcherDir) => { + constants.paths.launcherDir.then((launcherDir) => { const archivePath = `${launcherDir}/${Downloader.fileFromUri(uri)}`; // Download archive