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,