feat: yeaaah

This commit is contained in:
TrèsAbhi committed 2024-08-27 15:58:32 -05:00
1 parent 27a958079f
commit 7e076a1e34
3 files changed
+26 -9

No files matched your search

+2 -4
View File
@@ -3,11 +3,9 @@ import { argv } from 'process';
const isDepot = argv.includes('--depot');
export const WOTB_WIN32_DEPOT = 444202;
export const DATA = isDepot
? await (async () => {
const [installationVersion] = await readdir(`depots/${WOTB_WIN32_DEPOT}`);
return `depots/${WOTB_WIN32_DEPOT}/${installationVersion}/Data`;
const [installationVersion] = await readdir(`depots/444202`);
return `depots/444202/${installationVersion}/Data`;
})()
: 'C:/Program Files (x86)/Steam/steamapps/common/World of Tanks Blitz/Data';
+3
View File
@@ -0,0 +1,3 @@
import { assertSecret } from '../src/core/blitzkit/secret';
assertSecret(process.env.ZIP_URL);