Rename bmod to just mod

This commit is contained in:
2026-11-04 22:07:45 -03:00
parent fe0d857021
commit 5baaf0239a
33 changed files with 253 additions and 253 deletions
+3 -3
View File
@@ -13,7 +13,7 @@ import { current_client, update_client } from "./client_updates.ts";
import { guard_shortcuts } from "./shortcuts.ts";
import { center_mouse } from "./center_mouse.ts";
// where the project was built from: build/ and server_mods/ (the .bmod files) are bundled into the app with --include
// where the project was built from: build/ and server_mods/ (the .cubi files) are bundled into the app with --include
const ROOT = fromFileUrl(new URL("../", import.meta.url));
const BUILD_DIR = join(ROOT, "build");
@@ -46,7 +46,7 @@ const win = new Deno.BrowserWindow({ title: "bworld", width: 1280, height: 720 }
guard_shortcuts(win);
// the singleplayer game server, started the first time singleplayer connects so players who only join other servers
// don't get a world made for them. it plays the .bmod files the app was built with
// don't get a world made for them. it plays the .cubi files the app was built with
let host: Promise<Host> | undefined;
function singleplayer_host(): Promise<Host> {
@@ -102,7 +102,7 @@ Deno.serve(async (req) => {
center_mouse();
return new Response(null, { status: 204 });
}
// the singleplayer server's socket and its .bmod downloads
// the singleplayer server's socket and its .cubi downloads
if (url.pathname === "/ws" || url.pathname.startsWith("/mods/")) {
try {
return (await singleplayer_host()).handle(req);