Skip to content
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

更新内核失败(已找到暂时解决方法) #2636

Open
dxkrs opened this issue Feb 17, 2025 · 3 comments
Open

更新内核失败(已找到暂时解决方法) #2636

dxkrs opened this issue Feb 17, 2025 · 3 comments
Labels
S: Untriaged T: Bug Something isn't working

Comments

@dxkrs
Copy link

dxkrs commented Feb 17, 2025

System OS

macos,

app版本

1.6.1

Clash core:

Mihomo ,从v1.18更新到1.19.2

问题1复现:

在设置里的“clash内核“点击“检查更新”,会提示fetch failed, please check your internet connection.

问题1分析与解决:

查看了日志,又一个WARN日志,显示访问“https://ghproxy.org/https://raw.githubusercontent.com/LibNyanpasu/clash-nyanpasu/main/manifest/version.json” 失败,明显这是一个错误的地址。
在谷歌搜索相关问题解决的方法,看到一个 tauri-apps/tauri#10866 ,猜测是TAURI_BUNDLER_TOOLS_GITHUB_MIRROR变量,在终端'.zshrc'文件中新增设置该变量为空。重启app,再次点击更新内核,无错误提示,显示可更新版本,也可以下载。

问题2复现:

提示更新完毕后,clash内核选中项还是显示旧版本,再次点击“检查更新”,依然进行下载更新。尽管重启app也是如此。

问题2解决:

先选择并应用其他的clash core,再点击更新Mihomo内核到新版本,此时显示新版本号,然后再选择Mihomo内核,才能更新到并切换到新版本。

@dxkrs dxkrs added S: Untriaged T: Bug Something isn't working labels Feb 17, 2025
@keiko233
Copy link
Member

keiko233 commented Feb 17, 2025

和这个没有关系,主要是由于 gh proxy 301跳转导致的,新版已做修复 #2576

@dxkrs
Copy link
Author

dxkrs commented Feb 18, 2025

但问题2的内核切换也希望留意一下

@greenhat616
Copy link
Collaborator

问题2解决:

先选择并应用其他的clash core,再点击更新Mihomo内核到新版本,此时显示新版本号,然后再选择Mihomo内核,才能更新到并切换到新版本。

这个在开发版中已经修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: Untriaged T: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants