mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: direct depot
This commit is contained in:
1 parent
66740bcb8d
commit
f6a418499b
5 files changed
+10
-7
No files matched your search
@@ -44,7 +44,7 @@ jobs:
|
|||||||
run: yarn setup:depotdownloader
|
run: yarn setup:depotdownloader
|
||||||
|
|
||||||
- name: Run DepotDownloader
|
- name: Run DepotDownloader
|
||||||
run: ./temp/depotDownloader/DepotDownloader.exe -app 444200 -username ${{ secrets.DEPOT_DOWNLOADER_USERNAME }} -password "${{ secrets.DEPOT_DOWNLOADER_PASSWORD }}"
|
run: ./temp/depotDownloader/DepotDownloader.exe -app 444202 -username ${{ secrets.DEPOT_DOWNLOADER_USERNAME }} -password "${{ secrets.DEPOT_DOWNLOADER_PASSWORD }}"
|
||||||
|
|
||||||
- name: Build assets
|
- name: Build assets
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Vendored
+1
@@ -140,6 +140,7 @@
|
|||||||
"webp",
|
"webp",
|
||||||
"winrate",
|
"winrate",
|
||||||
"wireframe",
|
"wireframe",
|
||||||
|
"WOTB",
|
||||||
"wotblitz",
|
"wotblitz",
|
||||||
"xffn",
|
"xffn",
|
||||||
"xkdkw",
|
"xkdkw",
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
import { readdir } from 'fs/promises';
|
|
||||||
import { argv } from 'process';
|
import { argv } from 'process';
|
||||||
|
|
||||||
const isDepot = argv.includes('--depot');
|
const isDepot = argv.includes('--depot');
|
||||||
|
export const WOTB_WIN32_DEPOT = 444202;
|
||||||
export const DATA = isDepot
|
export const DATA = isDepot
|
||||||
? await (async () => {
|
? // ? await (async () => {
|
||||||
const [installationVersion] = await readdir('depots/444202');
|
// const [installationVersion] = await readdir(`depots/${WOTB_WIN32_DEPOT}`);
|
||||||
return `depots/444202/${installationVersion}/Data`;
|
// return `depots/${WOTB_WIN32_DEPOT}/${installationVersion}/Data`;
|
||||||
})()
|
// })()
|
||||||
|
`depots/${WOTB_WIN32_DEPOT}/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';
|
||||||
|
|
||||||
export const POI = {
|
export const POI = {
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ export const SECRET_KEYS = [
|
|||||||
'DISCORD_TOKEN',
|
'DISCORD_TOKEN',
|
||||||
'GH_TOKEN',
|
'GH_TOKEN',
|
||||||
'DISCORD_BLITZ_DB',
|
'DISCORD_BLITZ_DB',
|
||||||
|
'WOTB_DLC_CDN',
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
export type SECRET = typeof SECRET_KEYS extends readonly (infer T)[]
|
export type SECRET = typeof SECRET_KEYS extends readonly (infer T)[]
|
||||||
|
|||||||
+1
-1
Submodule submodules/closedkrieg updated: ea6012c50b...39fb1bbe9c.
Reference in new issue
Block a user