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

+1 -1
View File
@@ -72,7 +72,7 @@ jobs:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }} DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DATABASE_URL: ${{ secrets.DATABASE_URL }} DATABASE_URL: ${{ secrets.DATABASE_URL }}
WOTB_DLC_CDN: ${{ secrets.WOTB_DLC_CDN }} WOTB_DLC_CDN: ${{ secrets.WOTB_DLC_CDN }}
run: bun scripts/applyPatches.ts --depot run: bun setup:patches --depot
- name: (ZIP) Download client - name: (ZIP) Download client
if: github.event.inputs.zip_url != '' if: github.event.inputs.zip_url != ''
+1
View File
@@ -23,6 +23,7 @@
"dev:api": "bun --filter=@blitzkit/api run dev", "dev:api": "bun --filter=@blitzkit/api run dev",
"start:bot": "bun dist/bot/index.js", "start:bot": "bun dist/bot/index.js",
"setup:depotdownloader": "bun --filter=@blitzkit/scripts run setup:depotdownloader", "setup:depotdownloader": "bun --filter=@blitzkit/scripts run setup:depotdownloader",
"setup:patches": "bun --filter=@blitzkit/scripts run setup:patches",
"start:website": "bun --filter=@blitzkit/website run start", "start:website": "bun --filter=@blitzkit/website run start",
"host:docs": "vitepress preview docs", "host:docs": "vitepress preview docs",
"lint": "tsc", "lint": "tsc",
+2 -1
View File
@@ -5,7 +5,8 @@
"scripts": { "scripts": {
"build:assets": "bun src/buildAssets/index.ts", "build:assets": "bun src/buildAssets/index.ts",
"build:averages": "bun src/averages.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": { "dependencies": {
"progress": "^2.0.3", "progress": "^2.0.3",
@@ -5,7 +5,7 @@ const isDepot = argv.includes('--depot');
export const DATA = isDepot export const DATA = isDepot
? await (async () => { ? await (async () => {
const [installationVersion] = await readdir(`depots/444202`); const [installationVersion] = await readdir(`../../depots/444202`);
return `depots/444202/${installationVersion}/Data`; return `../../depots/444202/${installationVersion}/Data`;
})() })()
: 'C:/Program Files (x86)/Steam/steamapps/common/World of Tanks Blitz/Data'; : 'C:/Program Files (x86)/Steam/steamapps/common/World of Tanks Blitz/Data';