Skip to content

Commit 9f9dd63

Browse files
ComputerEliteComputerElite
authored andcommitted
update side menu, make uninstall button only work in quest
1 parent e3ec3d2 commit 9f9dd63

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

Assets/html/script.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ if(!IsOnQuest()) {
2121
// Is not on quest
2222
document.getElementById("restoreBackup").classList.add("notActive")
2323
document.getElementById("onPcInfo").classList.remove("hidden")
24+
document.getElementById("uninstall").classList.add("notActive")
2425
}
2526

2627
document.getElementById("logintoken").onclick = () => {
@@ -510,6 +511,7 @@ function OpenRestorePopup() {
510511
}
511512

512513
document.getElementById("uninstall").onclick = () => {
514+
if(!IsOnQuest()) return
513515
fetch(`android/uninstallpackage?package=${config.currentApp}`).then(res => {
514516
if (res.status == 230) GotoStep(3)
515517
else GotoStep(2)

Assets/html/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ body {
330330
padding: 20px;
331331
display: flex;
332332
align-items: center;
333-
color: #595959;
333+
color: #FFFFFF;
334334
}
335335

336336
.selected {

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.6.3" package="com.ComputerElite.questappversionswitcher" android:installLocation="preferExternal" android:versionCode="23">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.6.4" package="com.ComputerElite.questappversionswitcher" android:installLocation="preferExternal" android:versionCode="24">
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" />

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.6.3.0")]
26-
[assembly: AssemblyFileVersion("1.6.3.0")]
25+
[assembly: AssemblyVersion("1.6.4.0")]
26+
[assembly: AssemblyFileVersion("1.6.4.0")]

0 commit comments

Comments
 (0)