diff --git a/README.md b/README.md index 2f992fd..76415d4 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,22 @@ sudo npm install -g typescript tslint sudo apt-get install xdelta3 ``` +In addition, the ```patch-installer``` repository must be present in the parent folder of this repository. + Transpile the TypeScript files to JavaScript by running: ```bash npm start ``` +For a better command line experience, add the following to your ```~/.bashrc``` file: + +```bash +alias swtor_install='node /path/to/installation/patcher/dist/installPatch.js' + +complete -W 'assets_swtor_de_de assets_swtor_en_us assets_swtor_fr_fr assets_swtor_main assets_swtor_test_de_de assets_swtor_test_en_us assets_swtor_test_fr_fr assets_swtor_test_main eualas movies_de_de movies_en_us movies_fr_fr patcher2014 patcher2017 retailclient_liveqatest retailclient_swtor retailclient_publictest' 'swtor_install' +``` + # Usage Either directly run whatever script you need: @@ -22,6 +32,7 @@ node dist/getManifest.js assets_swtor_main node dist/getSolidPkg.js assets_swtor_main 126 127 node dist/getSolidPkgZip.js assets_swtor_main 126 127 node dist/installPatch.js assets_swtor_main 126 127 +swtor_install assets_swtor_main 126 127 ``` Or import the functions into your Node.js application: