Skip to content

Commit b5fa181

Browse files
Merge pull request #79 from AltyFox/main
Update QAVS to new mods repository.
2 parents f4bc1f4 + f0ec5a9 commit b5fa181

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

QuestAppVersionSwitcher/Assets/html/flows/beat_saber_modding.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ <h2>Upload logs</h2>
612612
UpdateModdedStatus().then(res => {
613613
fetch(start + `/api/mods/installfromurl`, {
614614
method: "POST",
615-
body: `https://oculusdb.rui2015.me/api/coremodsdownload/${moddedStatus.version}.qmod`
615+
body: `https://raw.githubusercontent.com/QuestPackageManager/bs-coremods/main/core_mods.json?${new Date().getTime()}`
616616
}).then(res => {
617617
localStorage.openMainDefault = true
618618
location = start + "/?tab=mods"
@@ -774,7 +774,7 @@ <h2>Upload logs</h2>
774774
function UpdateSupportedBeatSaberVersions() {
775775
return new Promise((resolve, reject) => {
776776
SupportedBeatSaberVersions = []
777-
fetch("https://computerelite.github.io/tools/Beat_Saber/coreMods.json").then(res => res.json().then(j => {
777+
fetch(`https://raw.githubusercontent.com/QuestPackageManager/bs-coremods/main/core_mods.json?${new Date().getTime()}`).then(res => res.json().then(j => {
778778
for(const [key, value] of Object.entries(j)) {
779779
SupportedBeatSaberVersions.push(key);
780780
}

QuestAppVersionSwitcher/Assets/html/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ <h2>Cosmetics type</h2>
220220
<div class="quest3hide">
221221
<h2>You can download mods and cosmetics from the following sites. Only QMods are supported by QuestAppVersionSwitcher + any cosmetics formats of the currently selected game</h2>
222222
<div style="display: flex; flex-direction: column;" class="buttonsContainer">
223-
<div class="button labelMargin" onclick="OpenSite(`https://computerelite.github.io/tools/Beat_Saber/questmods.html?version=${currentGameVersion}&isqavs=true&port=${GetPort()}&ismodded=${isGamePatched}&modloader=${GetModLoaderName()}`)">Open Beat Saber Mods page</div>
223+
<div class="button labelMargin" onclick="OpenSite(`https://mods.bsquest.xyz/qavs/?version=${currentGameVersion}&isqavs=true&port=${GetPort()}&ismodded=${isGamePatched}&modloader=${GetModLoaderName()}`)">Open Beat Saber Mods page</div>
224224
<div class="button labelMargin" onclick="OpenSite(`https://computerelite.github.io/tools/Oculus/QAVSHome.html?version=${currentGameVersion}&isqavs=true&port=${GetPort()}&ismodded=${isGamePatched}&modloader=${GetModLoaderName()}`)">Open website hub</div>
225225
<div class="button labelMargin" onclick="OpenSite(`https://www.google.com/search?q=computerelite`)">Open Google</div>
226226
</div>
@@ -768,4 +768,4 @@ <h3>Credits</h3>
768768
<div id="toasts"></div>
769769
<script src="script.js"></script>
770770
</body>
771-
</html>
771+
</html>

0 commit comments

Comments
 (0)