Refactor path handling, BepInEx management and startup logic

This commit is contained in:
2026-02-24 18:13:10 +01:00
parent 8924e1f882
commit 53f1afcf66
2 changed files with 80 additions and 56 deletions

View File

@@ -141,8 +141,8 @@ async function navigate(page) {
electronAPI.openExternalLink(modLink);
});
modDownloadButton = installedModTemplateCopy.getElementById("uninstall-mod-button");
modDownloadButton.addEventListener("click", async function (event) {
const uninstallModButton = installedModTemplateCopy.getElementById("uninstall-mod-button");
uninstallModButton.addEventListener("click", async function (event) {
event.preventDefault();
await nexus.uninstall(modInfo.modId);