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