feat: verbose

This commit is contained in:
TrèsAbhi committed 2024-03-13 00:22:54 -05:00
1 parent 1fb8dac805
commit 889ed7e191
3 files changed
+8 -1

No files matched your search

+4
View File
@@ -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(),