From 22521238d9e8eab6d1de9bc97f2ee764ed411a28 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Mon, 8 Oct 2018 21:37:15 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20launching=20of=20ssn-insta?= =?UTF-8?q?ller?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 2 +- src/ssn/installation/launch.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5661e37..562ce4d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" }, "ssn-installer": { - "version": "git+https://git.jedipedia.net/swtor/ssn-installer.git#88dba8d750a88a7a11a82f77e4bacc624a426ed7", + "version": "git+https://git.jedipedia.net/swtor/ssn-installer.git#3ddf3645adec42dd872ebaf593f9910eee3e5046", "from": "git+https://git.jedipedia.net/swtor/ssn-installer.git" }, "xml-js": { diff --git a/src/ssn/installation/launch.ts b/src/ssn/installation/launch.ts index bb053ba..19a9512 100644 --- a/src/ssn/installation/launch.ts +++ b/src/ssn/installation/launch.ts @@ -1,7 +1,8 @@ import * as childProcess from 'child_process'; import * as fs from 'fs'; +import * as path from 'path'; -const processPath = 'ssn-installer'; +const processPath = path.join(__dirname, '../../../node_modules/.bin/ssn-installer'); export default function launchProcess( diskFile: string,