Skip to content

Commit 1694960

Browse files
ComputerEliteComputerElite
authored andcommitted
add tickbox and text change
1 parent 32e3a76 commit 1694960

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

QuestAppVersionSwitcher/Assets/html/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ <h2>You can download mods and cosmetics from the following sites. Only QMods are
148148
<div class="contentHeaderDescription">Restores the backup selected above</div>
149149
<br>
150150
<b class="hidden" id="onPcInfo">You can only restore backups in headset</b>
151+
<label><input type="checkbox" id="restoreAppData" value="only restore app data" style="width: auto;">Only restore app data</label>
151152
<div class="buttonContainer">
152153
<div class="button" id="restoreBackup">Restore backup</div>
153154
<div class="buttonLabel">Restores the selected backup</div>

QuestAppVersionSwitcher/Assets/html/script.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ document.getElementById("restoreappdata").onclick = () => {
720720
})
721721
}
722722
else {
723-
TextBoxError("step3box", config.currentApp + " is not installed. Please install it.")
723+
TextBoxError("step3box", config.currentApp + " is not installed. Please try again. Disable library sharing and remove all account from your quest except your primary one.")
724724
GotoStep(3)
725725
}
726726
})
@@ -732,7 +732,7 @@ document.getElementById("skip").onclick = () => {
732732
res.text().then(text => {
733733
if (text == "True") GotoStep(6)
734734
else {
735-
TextBoxError("step3box", config.currentApp + " is not installed. Please install it.")
735+
TextBoxError("step3box", config.currentApp + " is not installed. Please try again. Disable library sharing and remove all account from your quest except your primary one.")
736736
GotoStep(3)
737737
}
738738
})
@@ -766,6 +766,7 @@ document.getElementById("restoreBackup").onclick = () => {
766766
return
767767
}
768768
OpenRestorePopup()
769+
if(document.getElementById("restoreAppData").checked) GotoStep(4)
769770
}
770771

771772
function GotoStep(step) {

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.9.5" package="com.ComputerElite.questappversionswitcher" android:installLocation="preferExternal" android:versionCode="43">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.9.6" package="com.ComputerElite.questappversionswitcher" android:installLocation="preferExternal" android:versionCode="44">
33
<uses-sdk android:minSdkVersion="28" android:targetSdkVersion="29" />
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.9.5.0")]
26-
[assembly: AssemblyFileVersion("1.9.5.0")]
25+
[assembly: AssemblyVersion("1.9.6.0")]
26+
[assembly: AssemblyFileVersion("1.9.6.0")]

0 commit comments

Comments
 (0)