From de9d5755ecd3d103f9df9866d81f039da8cc5392 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Wed, 22 Nov 2023 08:07:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=8E=E7=89=88=E6=9C=ACwebview=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/game.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/game/game.js b/game/game.js index d9c8f11d2..2fbed03e3 100644 --- a/game/game.js +++ b/game/game.js @@ -63458,5 +63458,12 @@ new Promise(resolve=>{ setAllPropertiesEnumerable(lib.element.Control.prototype); setAllPropertiesEnumerable(lib.element.Client.prototype); setAllPropertiesEnumerable(lib.element.NodeWS.prototype); + const coreAndVersion=get.coreInfo(); + const core=coreAndVersion[0],version=coreAndVersion[1]; + if(core=='chrome'&&!isNaN(version)&&version<77){ + const tip='检测到您的浏览器内核版本小于77,请及时升级浏览器或手机webview内核!'; + console.warn(tip); + game.print(tip); + } lib.init.init(); });