From 679799c074976bd670f994a038d7519665dddf30 Mon Sep 17 00:00:00 2001 From: AMIAY Date: Sat, 24 Jan 2026 12:33:42 +0100 Subject: [PATCH] fix installation branch --- GUI/js/install.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/GUI/js/install.js b/GUI/js/install.js index 304948e..ae3e363 100644 --- a/GUI/js/install.js +++ b/GUI/js/install.js @@ -60,18 +60,11 @@ export async function installGame() { const playerName = (installPlayerName ? installPlayerName.value.trim() : '') || 'Player'; const installPath = installPathInput ? installPathInput.value.trim() : ''; - // Récupérer la branche sélectionnée const selectedBranchRadio = document.querySelector('input[name="installBranch"]:checked'); const selectedBranch = selectedBranchRadio ? selectedBranchRadio.value : 'release'; console.log(`[Install] Installing game with branch: ${selectedBranch}`); - // Sauvegarder la branche sélectionnée dans le config - if (window.electronAPI && window.electronAPI.saveVersionBranch) { - await window.electronAPI.saveVersionBranch(selectedBranch); - console.log(`[Install] Branch saved to config: ${selectedBranch}`); - } - if (window.LauncherUI) window.LauncherUI.showProgress(); isDownloading = true; if (installBtn) {