Skip to content

Commit d79e7b9

Browse files
committed
fix ui
1 parent 3731070 commit d79e7b9

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

QuestAppVersionSwitcher/Assets/html/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div style="font-size: 80%; width: 100%;">
1414
Managing <div class="inline packageName">some game</div>
1515
<br>
16-
<div id="currentVersion"></div>
16+
<div id="currentVersion">Version unknown</div>
1717
</div>
1818
</div>
1919
<div class="menuItem selected" section="backup">Backup</div>

QuestAppVersionSwitcher/Assets/html/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ document.getElementById("logintoken").onclick = () => {
469469

470470
function UpdateVersion(version) {
471471
currentGameVersion = version
472-
document.getElementById("currentVersion").innerText = currentGameVersion
472+
document.getElementById("currentVersion").innerText = currentGameVersion ?? "Version unknown"
473473
}
474474

475475
var isGamePatched = false

QuestAppVersionSwitcher/DiffDowngrading/DiffDowngrader.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ public void Done()
189189
foreach (FileDiffDowngradeEntry file in entry.otherFiles)
190190
{
191191
status = "Download completed. Applying diff patches to game. Please wait up to 5 minutes (" + i + "/" + totalPatches + ")";
192+
QAVSWebserver.BroadcastDownloads(true);
192193
ApplyPatch(CoreService.coreVars.AndroidObbLocation + entry.appid + "/" + file.sourceFilename, CoreService.coreVars.QAVSTmpDowngradeDir + file.diffFilename, backupDir + "obb/" + entry.appid + "/" + file.outputFilename);
193194
i++;
194195
}

0 commit comments

Comments
 (0)