New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
更新依赖 #72
base: main
Are you sure you want to change the base?
更新依赖 #72
Conversation
✅ Deploy Preview for cocogoat ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
感谢,我应该在春节前后把这个处理完合进去。
|
试着调试了一下,大概情况如下:
单文件版准确率差的问题,实质上是文本编码问题。下载 Actions 里的单文件构建版,启动成就识别,观察控制台输出,可以发现,识别结果都是乱码。根据这篇文章,基本可以认为乱码类型是“以 ISO8859-1 方式读取 UTF-8 编码的中文”。(太怪了 😥) 也就是说,在这个 PR 以前,单文件版的成就识别功能就是无法正常使用的,而且似乎也没有人反馈。再考虑到新版 Vite 已经完全无法 inline 导入 Worker,我们可能应当放弃单文件模式下的成就识别(或者说 Worker 支持),甚至完全放弃单文件构建。 |
已经把 Sentry 和 onnxruntime 以外的依赖都升级并处理了,作者最后测试一下功能的正确性应该就可以合并了。 |
在尽可能不改动现有代码的前提下,更新了一波 npm 依赖。不过还有以下问题可能需要作者 @xytoki 帮助解决。
require
,看下用什么方式处理。element-plus
更新以后构建会失败。(以上打勾的问题已经解决。)