fix: 360revived and hellish ends downloading

This commit is contained in:
neoapps-dev
2026-05-04 22:29:25 +03:00
parent c5a05ca3e2
commit 1411f78388

View File

@@ -196,7 +196,7 @@ export function useGameManager({
const availableBranches = branches[e.id] || ["Stable"];
const selectedBranch = selectedBranches[e.id] || availableBranches[0];
let url = dynamicUrls[e.id] || e.url;
const branchToUse = selectedBranch === "Stable" ? (dynamicUrls[`${e.id}_Stable`] || "latest") : selectedBranch;
const branchToUse = selectedBranch === "Stable" ? (dynamicUrls[`${e.id}_Stable`] || "nightly") : selectedBranch;
if (e.url.includes("github.com")) {
const baseUrl = e.url.split("/releases/download/")[0];
const filename = e.url.split("/").pop();