fix: show error bug.

This commit is contained in:
Rintim 2024-01-09 23:21:51 +08:00
parent 98fc7e4aa3
commit 0a3d5216f5
No known key found for this signature in database
GPG Key ID: BE9E1EA615BACFCF
1 changed files with 101 additions and 100 deletions

View File

@ -91,7 +91,8 @@ new Promise(resolve => {
script.async = true script.async = true
script.onerror = (event) => { script.onerror = (event) => {
console.error(event) console.error(event)
const message = `您使用的浏览器或无名杀客户端加载内容失败!\n报错内容: \n${event}\n若该BUG不为您个人原因造成的请及时反馈给无名杀开发组`; const message = `您使用的浏览器或无名杀客户端加载内容失败!\n请检查游戏环境以及"(游戏根目录)/game/entry.js"文件的位置\n若该BUG不为您个人原因造成的请及时反馈给无名杀开发组`;
console.error(message);
alert(message); alert(message);
exit() exit()
} }