📓 Update documentation, add bashrc macro
This commit is contained in:
parent
806e9fb330
commit
ac6f4e5c44
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
@ -8,12 +8,22 @@ sudo npm install -g typescript tslint
|
||||||
sudo apt-get install xdelta3
|
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:
|
Transpile the TypeScript files to JavaScript by running:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm start
|
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
|
# Usage
|
||||||
Either directly run whatever script you need:
|
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/getSolidPkg.js assets_swtor_main 126 127
|
||||||
node dist/getSolidPkgZip.js assets_swtor_main 126 127
|
node dist/getSolidPkgZip.js assets_swtor_main 126 127
|
||||||
node dist/installPatch.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:
|
Or import the functions into your Node.js application:
|
||||||
|
|
Loading…
Reference in a new issue