ssn/src/index.ts

18 lines
628 B
TypeScript

import * as config from './config';
//TODO: read arguments from command-line instead: process.argv
config.set('product', 'assets_swtor_en_us');
config.set('release', 120);
config.set('from', -1);
config.set('outputType', 'info');
//config.set('output', '/home/c3po/swtor-test/');
config.verify();
/*TODO:
- Configuration (which patch to download)
Need to install patch X for product Y, given install path Z and optionally previous version A already installed in path B.
- File download: .solidpkg, .zip, z01
- File verify
- Show output: list of .tor files etc. (and also which of the files have changed)
- File install
*/