mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
fix: patches
This commit is contained in:
1 parent
c7cb135a24
commit
d8f6e8fe8e
4 files changed
+6
-4
No files matched your search
@@ -72,7 +72,7 @@ jobs:
|
||||
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
|
||||
DATABASE_URL: ${{ secrets.DATABASE_URL }}
|
||||
WOTB_DLC_CDN: ${{ secrets.WOTB_DLC_CDN }}
|
||||
run: bun scripts/applyPatches.ts --depot
|
||||
run: bun setup:patches --depot
|
||||
|
||||
- name: (ZIP) Download client
|
||||
if: github.event.inputs.zip_url != ''
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
"dev:api": "bun --filter=@blitzkit/api run dev",
|
||||
"start:bot": "bun dist/bot/index.js",
|
||||
"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",
|
||||
"host:docs": "vitepress preview docs",
|
||||
"lint": "tsc",
|
||||
|
||||
@@ -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';
|
||||
Reference in new issue
Block a user