mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: verbose
This commit is contained in:
1 parent
1fb8dac805
commit
889ed7e191
3 files changed
+8
-1
No files matched your search
@@ -14,6 +14,8 @@ const currentVersion = versionTextFile
|
||||
.slice(0, 3)
|
||||
.join('.');
|
||||
|
||||
console.log(`Installing patches for ${currentVersion}...`);
|
||||
|
||||
let patchIndex = 1;
|
||||
while (true) {
|
||||
const response = await fetch(
|
||||
@@ -21,6 +23,8 @@ while (true) {
|
||||
);
|
||||
|
||||
if (response.status === 200) {
|
||||
console.log(`Applying patch ${patchIndex}...`);
|
||||
|
||||
const data = parseYaml(await response.text());
|
||||
const dvpm = await fetch(`${secrets.WOTB_DLC_CDN}/dlc/${data.dx11}`).then(
|
||||
(response) => response.arrayBuffer(),
|
||||
|
||||
Reference in new issue
Block a user