fix/scene-auth-websocket-regressions #18

Merged
moyin merged 6 commits from fix/scene-auth-websocket-regressions into main 2026-03-10 16:38:37 +08:00
7 changed files with 45 additions and 23 deletions
Showing only changes of commit 22f4ec5d76 - Show all commits

View File

@@ -0,0 +1,40 @@
@echo off
echo ========================================
echo 鲸鱼镇 Web服务器 (web_assets)
echo ========================================
echo.
set "PORT=8000"
REM 检查Python
python --version >nul 2>&1
if %ERRORLEVEL% neq 0 (
echo [错误] 未找到Python
echo 请安装Python: https://python.org/downloads
pause
exit /b 1
)
REM 检查文件
if not exist "web_assets\index.html" (
echo [错误] 未找到 web_assets\index.html
pause
exit /b 1
)
echo [启动] 启动服务器...
echo 端口: %PORT%
echo 目录: web_assets
echo.
echo 访问地址: http://localhost:%PORT%
echo.
echo 按 Ctrl+C 停止服务器
echo.
REM 启动服务器
cd web_assets
start http://localhost:%PORT%
python -m http.server %PORT%
cd ..
pause

View File

@@ -112,7 +112,7 @@ body {
<script src="index.js"></script>
<script>
const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"emscriptenPoolSize":8,"ensureCrossOriginIsolationHeaders":true,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":35119676,"index.wasm":36145869},"focusCanvas":true,"gdextensionLibs":[],"godotPoolSize":4,"serviceWorker":"index.service.worker.js"};
const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"emscriptenPoolSize":8,"ensureCrossOriginIsolationHeaders":true,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":46883000,"index.wasm":37686550},"focusCanvas":true,"gdextensionLibs":[],"godotPoolSize":4,"serviceWorker":"index.service.worker.js"};
const GODOT_THREADS_ENABLED = false;
const engine = new Engine(GODOT_CONFIG);

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"background_color":"#316cff","display":"standalone","icons":[{"sizes":"144x144","src":"index.144x144.png","type":"image/png"},{"sizes":"180x180","src":"index.180x180.png","type":"image/png"},{"sizes":"512x512","src":"index.512x512.png","type":"image/png"}],"name":"whaleTown","orientation":"any","start_url":"./index.html"}
{"background_color":"#1349ff","display":"standalone","icons":[{"sizes":"144x144","src":"index.144x144.png","type":"image/png"},{"sizes":"180x180","src":"index.180x180.png","type":"image/png"},{"sizes":"512x512","src":"index.512x512.png","type":"image/png"}],"name":"whaleTown","orientation":"any","start_url":"./index.html"}

Binary file not shown.

View File

@@ -4,7 +4,7 @@
// Incrementing CACHE_VERSION will kick off the install event and force
// previously cached resources to be updated from the network.
/** @type {string} */
const CACHE_VERSION = '1766673973|3863914';
const CACHE_VERSION = '1773130384|168741112';
/** @type {string} */
const CACHE_PREFIX = 'whaleTown-sw-cache-';
const CACHE_NAME = CACHE_PREFIX + CACHE_VERSION;

Binary file not shown.