Launcher 0.3.2: Updates aus Gitea-Releases, Server-Karte entfernt

Neueste Mod/Launcher-Version und Neuigkeiten kommen von git.mbm.wtf (bso-release.json mit Signatur),
die Website ist nur noch Reserve (mit -dev zuerst). SPIELEN auf der Startseite startet ohne Server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-28 21:01:20 +01:00
co-authored by Claude Opus 5.5
parent 5fd162fecb
commit 9cd5f2b153
9 changed files with 155 additions and 56 deletions
+2 -14
View File
@@ -183,7 +183,7 @@ async function renderHome(root) {
}));
const ready = s.game.found && s.dotnet && (s.mod.installed || s.mod.latest);
const line = s.mod.installed ? t("BSO {0} installiert · Server {1}", s.mod.installed, s.settings.server) : t("BSO wird beim ersten Start installiert");
const line = s.mod.installed ? t("BSO {0} installiert · zusammen spielen unter Freunde & Lobby", s.mod.installed) : t("BSO wird beim ersten Start installiert");
const children = [
h("div", { class: "hero" },
@@ -201,7 +201,7 @@ async function renderHome(root) {
if (!s.masterReachable)
children.push(h("div", { class: "banner warn" }, h("span", {}, t("BSO-Server nicht erreichbar - Updates werden spaeter geprueft."))));
children.push(h("div", { class: "cards" }, gameCard(s), modCard(s), dotnetCard(s), serverCard(s)));
children.push(h("div", { class: "cards" }, gameCard(s), modCard(s), dotnetCard(s)));
root.replaceChildren(...children);
}
@@ -246,18 +246,6 @@ function dotnetCard(s) {
h("div", { class: "row" }, b));
}
function serverCard(s) {
const input = h("input", { value: s.settings.server, placeholder: "host:7777", spellcheck: "false" });
const auto = h("input", { type: "checkbox" });
auto.checked = s.settings.autoConnect;
const save = () => call("setSettings", { server: input.value.trim(), autoConnect: auto.checked }).then(() => toast(t("Gespeichert")));
input.addEventListener("change", save);
auto.addEventListener("change", save);
return card("Server", "ok", t("Mitspielen"),
h("label", {}, h("span", {}, t("Adresse")), input),
h("label", { class: "switch" }, h("span", {}, t("Beim Start verbinden"), h("small", {}, t("sonst im Spiel mit F8"))), auto));
}
// ---------------------------------------------------------------- Freunde & Lobby
// Die Lobby liegt auf der Website, ihr Server laeuft im BSO-Relay - keiner hostet, keiner braucht eine Portfreigabe.