Skip to content

Commit a0b46cb

Browse files
ComputerEliteComputerElite
authored andcommitted
remove SHA256 calculation
1 parent 4b4699f commit a0b46cb

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

QuestAppVersionSwitcher/Assets/html/script.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,8 @@ function ModBackup(backup) {
295295
document.getElementById("selectedBackup").innerHTML = backup ? `Selected Backup: <b>${backup}</b><br><div class='button' onclick='ModBackup("")'>Unselect backup</div>` : ""
296296
OpenTab("patching")
297297
UpdatePatchingStatus()
298+
// do again to make sure it didn't get overriden by an earlier update which took longer
299+
setTimeout(UpdatePatchingStatus, 1000)
298300
}
299301
function UpdatePatchingStatus() {
300302
if(patchInProgress) {

QuestAppVersionSwitcher/BackupManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public static BackupInfo GetBackupInfo(string path, bool loadAnyway = false)
4444
info.isPatchedApk = s.isPatched;
4545
apk.Dispose();
4646
// Calculate SHA 256 of apk file
47+
/*
4748
if (!calculating.Contains(pathWithoutSlash + "/app.apk"))
4849
{
4950
Logger.Log("Calculating SHA256 of apk file " + pathWithoutSlash + "/app.apk");
@@ -53,6 +54,7 @@ public static BackupInfo GetBackupInfo(string path, bool loadAnyway = false)
5354
fs.Dispose();
5455
Logger.Log("Calculated SHA256 of apk file " + pathWithoutSlash + "/app.apk");
5556
}
57+
*/
5658
}
5759
File.WriteAllText(pathWithoutSlash + "/info.json", JsonSerializer.Serialize(info));
5860
return info;

QuestAppVersionSwitcher/Properties/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.13.18" package="com.ComputerElite.questappversionswitcher" android:installLocation="preferExternal" android:versionCode="107">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.13.19" package="com.ComputerElite.questappversionswitcher" android:installLocation="preferExternal" android:versionCode="108">
33
<uses-sdk android:minSdkVersion="28" android:targetSdkVersion="32" />
44
<uses-permission android:name="oculus.permission.handtracking" />
55
<uses-permission android:name="com.oculus.permission.HAND_TRACKING" />

QuestAppVersionSwitcher/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
// Minor Version
2323
// Build Number
2424
// Revision
25-
[assembly: AssemblyVersion("1.13.18.0")]
26-
[assembly: AssemblyFileVersion("1.13.18.0")]
25+
[assembly: AssemblyVersion("1.13.19.0")]
26+
[assembly: AssemblyFileVersion("1.13.19.0")]

0 commit comments

Comments
 (0)