chore: add zero-dependency static launcher

This commit is contained in:
Codex
2026-08-28 08:49:24 +09:00
parent bfc37e76c7
commit 4c5756a5a9
8 changed files with 539 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
const statusElements = document.querySelectorAll("[data-runtime-status]");
const hasWebGpu = "gpu" in navigator;
for (const statusElement of statusElements) {
statusElement.textContent = hasWebGpu ? "WebGPU 준비됨" : "CPU fallback";
statusElement.classList.toggle("status-chip--warning", !hasWebGpu);
statusElement.classList.toggle("status-chip--neutral", hasWebGpu);
}