diff --git a/package.json b/package.json index 75bd13a..487e094 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "patcher", "main": "dist/index.js", "scripts": { - "start": "rm -rf dist && tsc && cd ../patcher-installer && ./build.sh && cd ../patcher && mkdir dist/lib && cp ../patcher-installer/patcher-installer dist/lib", + "start": "rm -rf dist && tsc && cd ../patch-installer && ./build.sh && cd ../patcher && mkdir dist/lib && cp ../patch-installer/patch-installer dist/lib", "test": "echo \"Error: no test specified\" && exit 1" }, "devDependencies": { diff --git a/src/ssn/getPatch.ts b/src/ssn/getPatch.ts index 42f021d..b74b41b 100644 --- a/src/ssn/getPatch.ts +++ b/src/ssn/getPatch.ts @@ -6,8 +6,8 @@ import getUrlContents from '../cdn/getUrlContents'; import { Product } from '../interfaces/ISettings'; import { ISsnFileEntry, SsnDiffType } from '../interfaces/ISsnFileEntry'; import getSolidpkg from './getSolidpkg'; -import launch from './patcher-installer/launch'; -import taskManager from './patcher-installer/taskManager'; +import launch from './installation/launch'; +import taskManager from './installation/taskManager'; import readSsnFile from './reader/readSsnFile'; import verifyPatch from './verify/verifyPatch'; import verifyProductName from './verify/verifyProductName'; diff --git a/src/ssn/patcher-installer/launch.ts b/src/ssn/installation/launch.ts similarity index 93% rename from src/ssn/patcher-installer/launch.ts rename to src/ssn/installation/launch.ts index 0acab2f..35e764d 100644 --- a/src/ssn/patcher-installer/launch.ts +++ b/src/ssn/installation/launch.ts @@ -2,7 +2,7 @@ import * as childProcess from 'child_process'; import * as fs from 'fs'; import * as path from 'path'; -const processPath = path.join(__dirname, '../../lib/patcher-installer'); +const processPath = path.join(__dirname, '../../lib/patch-installer'); export default function launchProcess( diskFile: string, diff --git a/src/ssn/patcher-installer/taskManager.ts b/src/ssn/installation/taskManager.ts similarity index 100% rename from src/ssn/patcher-installer/taskManager.ts rename to src/ssn/installation/taskManager.ts