fix: patches

This commit is contained in:
TrèsAbhi committed 2024-10-21 11:31:17 -05:00
1 parent c7cb135a24
commit d8f6e8fe8e
4 files changed
+6 -4

No files matched your search

+2 -1
View File
@@ -5,7 +5,8 @@
"scripts": {
"build:assets": "bun src/buildAssets/index.ts",
"build:averages": "bun src/averages.ts",
"setup:depotdownloader": "bun src/setupDepotDownloader.ts"
"setup:depotdownloader": "bun src/setupDepotDownloader.ts",
"setup:patches": "bun src/applyPatches.ts"
},
"dependencies": {
"progress": "^2.0.3",
@@ -5,7 +5,7 @@ const isDepot = argv.includes('--depot');
export const DATA = isDepot
? await (async () => {
const [installationVersion] = await readdir(`depots/444202`);
return `depots/444202/${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';