ssn/src/installPatch.ts

15 lines
529 B
TypeScript
Raw Normal View History

2018-06-22 13:35:25 +02:00
import getPatchmanifest from './ssn/getPatchmanifest';
2018-06-21 23:06:34 +02:00
import getSolidpkg from './ssn/getSolidpkg';
(async () => {
2018-06-22 13:43:17 +02:00
//----- PATCHMANIFEST -----
//.patchmanifest files contain a single XML file called "manifest.xml"
2018-06-22 17:19:30 +02:00
//const patchmanifestXml = await getPatchmanifest('assets_swtor_de_de');
//console.log(patchmanifestXml);
2018-06-22 13:43:17 +02:00
//----- SOLIDPKG -----
//.solidpkg files contain a single Bencode file called "metafile.solid"
const solidFile = await getSolidpkg('assets_swtor_de_de', -1, 0);
console.log(solidFile);
})();