Rename other things to cubi too
This commit is contained in:
@@ -116,7 +116,7 @@ export function format_report(report: BenchmarkReport): string {
|
||||
const memory = system.memory_gb ? `, ${system.memory_gb} GB` : "";
|
||||
const refresh = system.refresh_hz ? `, ${system.refresh_hz} Hz` : "";
|
||||
const lines = [
|
||||
`## bworld render benchmark ${report.version}`,
|
||||
`## cubi render benchmark ${report.version}`,
|
||||
"",
|
||||
`${system.browser} on ${system.os}, ${system.gpu}`,
|
||||
`${system.cpu_threads} threads${memory}${refresh}, drawn at ${report.resolution}, ${system.workers} mesh workers` +
|
||||
|
||||
@@ -93,7 +93,7 @@ export class TitleScreen extends GuiScreen {
|
||||
}
|
||||
|
||||
on_render(): void {
|
||||
const title = "bworld";
|
||||
const title = "Cubi";
|
||||
const title_width = measure_text(title, TITLE_SCALE);
|
||||
draw_text(
|
||||
title,
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>bworld</title>
|
||||
<title>Cubi</title>
|
||||
<style>
|
||||
html,
|
||||
body {
|
||||
|
||||
@@ -42,8 +42,8 @@
|
||||
"zod": "jsr:@zod/zod@^4.6.7"
|
||||
},
|
||||
"desktop": {
|
||||
"app": { "name": "bworld", "identifier": "com.bworld.game" },
|
||||
"app": { "name": "cubi", "identifier": "com.bworld.game" },
|
||||
"backend": "cef",
|
||||
"output": { "macos": "./dist/bworld.app", "windows": "./dist/bworld", "linux": "./dist/bworld" }
|
||||
"output": { "macos": "./dist/cubi.app", "windows": "./dist/cubi", "linux": "./dist/cubi" }
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -42,6 +42,6 @@ if (Deno.build.os !== "windows") {
|
||||
}
|
||||
|
||||
Deno.serve(
|
||||
{ port: PORT, onListen: ({ port }) => console.log(`bworld server on http://localhost:${port}/`) },
|
||||
{ port: PORT, onListen: ({ port }) => console.log(`cubi server on http://localhost:${port}/`) },
|
||||
host.handle,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user