A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
fix(gates): the hot-update check expects a browser to cache an update - the web platform has kept a content cache since the texture recipes, and the check still asked for none
yhh0ce4e349fbe9
diff --git a/tools/launchers/headless-hotupdate-verify.mjs b/tools/launchers/headless-hotupdate-verify.mjsindex 6085d1597..c84bf8f6d 100644--- a/tools/launchers/headless-hotupdate-verify.mjs+++ b/tools/launchers/headless-hotupdate-verify.mjs@@ -160,10 +160,8 @@ app.whenReady().then(async () => {});}- // The stages a browser can honestly claim: stored in localStorage and read- // back, and no disk cache to have put anything in.const stagesOk = good?.stages?.verified === true && good.stages.applied === true- && good.stages.persisted === true && good.stages.cached === null;+ && good.stages.persisted === true && good.stages.cached === true;// A relaunch starts on the update, not on what shipped: the whole point of// persisting it. The refused updates in between must not have displaced it.await win.loadURL(`${base}/index.html?headless=1`);