Skip to content

Commit 4210f1e

Browse files
committed
recommend MBF on 1.35+ and fix download progress
1 parent aae1966 commit 4210f1e

4 files changed

Lines changed: 32 additions & 5 deletions

File tree

QuestAppVersionSwitcher/Assets/html/flows/beat_saber_modding.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,15 @@ <h1>Your game is modded!</h1>
7474
<p>Your game is modded! Press <code>Get mods</code> below to get to the installed mods page</p>
7575
<button onclick="GetMods()">Get mods</button>
7676
</div>
77+
<div class="content hidden" id="mbf">
78+
<h1>You cannot use QAVS to mod this version of Beat Saber!</h1>
79+
<p>Instead you will have to use ModsBeforeFriday on your phone or pc. Simply google it.</p>
80+
<p>If you need help you can head to the BSMG discord server at <a>https://discord.gg/beatsabermods</a></p>
81+
<br>
82+
<br>
83+
<br>
84+
<button style="font-size: 0.7rem" onclick="ContinueWithoutMBF()">Continue anyway (will not work)</button>
85+
</div>
7786
<div class="content hidden" id="downgrade">
7887
<h1>Downgrade</h1>
7988
<div id="downgradeLogin">
@@ -264,6 +273,22 @@ <h2>Upload logs</h2>
264273
<div class="loaderSquare"></div>
265274
</div>`
266275

276+
var skipMBFCheck = false
277+
function ContinueWithoutMBF() {
278+
skipMBFCheck = true
279+
FirstOpen()
280+
}
281+
282+
function ShouldUseMBF() {
283+
if(skipMBFCheck) return false
284+
// ToDo: check headset
285+
// if version > 1.28.0 use MBF
286+
major = parseInt(selectedVersion.split(".")[0])
287+
minor = parseInt(selectedVersion.split(".")[1])
288+
if(major > 1 || minor > 28) return true
289+
return false
290+
}
291+
267292
function VersionSelected() {
268293
selectedVersion = document.getElementById("gameVersions").value
269294
versionSpecified = true
@@ -692,6 +717,10 @@ <h2>Upload logs</h2>
692717
SelectVersion()
693718
return
694719
}
720+
if(ShouldUseMBF()) {
721+
OpenTab("mbf")
722+
return
723+
}
695724
UpdateModdedStatus().then(() => {
696725
if(!moddedStatus.isInstalled) {
697726
// Downgrade

QuestAppVersionSwitcher/DiffDowngrading/DiffDowngrader.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ public override string progressString
4444
}
4545
}
4646

47-
public virtual List<DownloadManager> downloadManagers { get; set; } = new List<DownloadManager>();
48-
4947
public override string id { get; set; } = "";
5048
public override string status { get; set; } = "";
5149
public override string textColor { get; set; } = "#FFFFFF";

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.15.22" package="com.ComputerElite.questappversionswitcher" android:installLocation="preferExternal" android:versionCode="143">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.15.23" package="com.ComputerElite.questappversionswitcher" android:installLocation="preferExternal" android:versionCode="144">
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.15.22.0")]
26-
[assembly: AssemblyFileVersion("1.15.22.0")]
25+
[assembly: AssemblyVersion("1.15.23.0")]
26+
[assembly: AssemblyFileVersion("1.15.23.0")]

0 commit comments

Comments
 (0)