mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2025-12-08 18:08:44 +00:00
[adapters] 优化提示文案
This commit is contained in:
@@ -96,10 +96,10 @@ function checkAndModifyWorkerFiles() {
|
||||
if (result.CC_WORKER_ASSET_PIPELINE || result.CC_WORKER_AUDIO_SYSTEM) {
|
||||
// 没有 Worker 目录与配置的话提醒用户重新安装
|
||||
if (!(gameJson.workers && fs.existsSync(workerDir))) {
|
||||
Editor.error("你启用了社区版的多线程特性,但未检测到正确的 workers 目录与 game.json 字段,请重新安装社区版,详情请查看文档:TODO");
|
||||
Editor.error("你启用了社区版的多线程特性,但未检测到正确的 workers 目录与 game.json 字段,请重新安装社区版,详情请查看文档:https://smallmain.github.io/cocos-enhance-kit/docs/user-guide/multithread/thread-intro#%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9");
|
||||
}
|
||||
} else {
|
||||
Editor.warn("你禁用了社区版的多线程特性,可以手动删除相关文件以减少包体大小,详情请查看文档:TODO");
|
||||
Editor.warn("你禁用了社区版的多线程特性,可以手动删除相关文件以减少微信小游戏的包体大小,详情请查看文档:https://smallmain.github.io/cocos-enhance-kit/docs/user-guide/multithread/thread-intro#%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user