👷♂️ Add shebangs
This commit is contained in:
parent
9ea67cdbb6
commit
1b0d87d40f
7 changed files with 17 additions and 9 deletions
|
@ -24,10 +24,10 @@ complete -W 'assets_swtor_de_de assets_swtor_en_us assets_swtor_fr_fr assets_swt
|
|||
# Usage
|
||||
|
||||
```bash
|
||||
node dist/getManifest.js assets_swtor_main
|
||||
node dist/getSolidPkg.js assets_swtor_main 126 127
|
||||
node dist/getPatchZip.js --product assets_swtor_main --from 126 --to 127
|
||||
node dist/installPatch.js assets_swtor_main 126 127
|
||||
dist/getManifest.js assets_swtor_main
|
||||
dist/getSolidPkg.js assets_swtor_main 126 127
|
||||
dist/getPatchZip.js --product assets_swtor_main --from 126 --to 127
|
||||
dist/installPatch.js assets_swtor_main 126 127
|
||||
swtor_install assets_swtor_main 126 127
|
||||
```
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"main": "index.js",
|
||||
"scripts": {
|
||||
"preinstall": "rm -rf node_modules && rm -f package-lock.json",
|
||||
"start": "rm -rf dist && tsc",
|
||||
"start": "rm -rf dist && tsc && chmod +x dist/*.js",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
import { getManifest, IManifest, Product, verifyProductName } from 'ssn';
|
||||
import failWithError from './failWithError';
|
||||
import failWithError from './funcs/failWithError';
|
||||
|
||||
const failFunction = failWithError.bind(null, 'node dist/getManifest.js <product>');
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
import { getPatchZip, ISsnFileEntry, Product, verifyProductName } from 'ssn';
|
||||
import * as yargsParser from 'yargs-parser';
|
||||
import failWithError from './failWithError';
|
||||
import failWithError from './funcs/failWithError';
|
||||
|
||||
const failFunction = failWithError.bind(null, 'node dist/getPatchZip.js --product <product> --from <from> --to <to>');
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
import { getSolidpkg, ISolidSimple, Product, verifyProductName } from 'ssn';
|
||||
import failWithError from './failWithError';
|
||||
import failWithError from './funcs/failWithError';
|
||||
|
||||
const failFunction = failWithError.bind(null, 'node dist/getSolidpkg.js <product> <from> <to>');
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
import { getPatch, Product, verifyProductName } from 'ssn';
|
||||
import failWithError from './failWithError';
|
||||
import failWithError from './funcs/failWithError';
|
||||
|
||||
const failFunction = failWithError.bind(null, 'node dist/installPatch.js <product> <from> <to>');
|
||||
|
||||
|
|
Loading…
Reference in a new issue