Add BepInEx installation

This commit is contained in:
2026-01-21 22:12:50 +01:00
parent ad48b2c91f
commit da22a80c4a
7 changed files with 71 additions and 20 deletions

View File

@@ -103,6 +103,13 @@
<button class="default-button" onclick="autoDetectGamePath()">Auto Detect</button>
</div>
<br>
<h2>BepInEx</h2>
<p class="transparent-text">BepInEx V1.0.0 is installed</p>
<div class="horizontal-div">
<button class="default-button" onclick="installBepinex()">Install</button>
<button class="important-button" onclick="uninstallBepinex()">Uninstall</button>
</div>
<br>
<h2>Import/Export</h2>
<div class="horizontal-div">
<button class="default-button" onclick="importData()">Import Data</button>

View File

@@ -115,4 +115,12 @@ async function importData() {
async function downloadMod() {
console.log("WIP")
}
async function installBepinex() {
bepinex.install()
}
async function uninstallBepinex() {
console.log("WIP")
}

View File

@@ -130,6 +130,7 @@ body {
display: flex;
align-items: center;
gap: 20px;
margin-top: 8px;
}
.silksong-path-input {