MatsuriDayo / nekoray

Qt based cross-platform GUI proxy configuration manager (backend: sing-box)
https://matsuridayo.github.io/
GNU General Public License v3.0
13.45k stars 1.26k forks source link

BUG: archlinux pacman直接推送了4.0 beta2,导致问题,我应该将核心放在哪个目录中/usr/lib/nekobox/核心?? #1342

Open slociv opened 4 months ago

slociv commented 4 months ago

Describe the problem

image 找不到“hysteria2”核心,请前往设置 另外老bug,要将geosite.db 和geoip.db 在网上下载后放到/user/lib/nekobox/ Expected behavior: HY2 端口跳跃不再使用 sing-box,而是使用外部 hy2 核心

我希望在发布pacman的时候可以直接带有默认的核心和geosite.db 和geoip.db

或者可以在网站上给出下载路径谢谢 Actual behavior:

How to reproduce

Provide helpful screenshots, videos, text descriptions, subscription links, etc.

log

If you have logs, please upload them. Please see the detailed steps for exporting logs in the documentation.

uzvg commented 4 months ago

ArchLinuxCN源中有两个包:archlinuxcn/sing-geosite-dbarchlinuxcn/sing-geoip-db,安装后,会在/usr/share/singbox/路径下产生需要的文件,然后把这个路径添加到core的asset location中能解决这个问题。

slociv commented 4 months ago

ArchLinuxCN源中有两个包:archlinuxcn/sing-geosite-dbarchlinuxcn/sing-geoip-db,安装后,会在/usr/share/singbox/路径下产生需要的文件,然后把这个路径添加到core的asset location中能解决这个问题。

不知道是我的问题还是什么,hy2的速度比hy1慢10倍,貌似singbox 核心也会导致速度变慢但不是主要原因

arm64v8a commented 4 months ago
另外老bug,要将geosite.db 和geoip.db 在网上下载后放到/user/lib/nekobox/
Expected behavior:

以后将改为使用 srs,所以 geo* 相关的问题不再处理。

Jisu-Woniu commented 4 months ago

在改为 rule-set 之前,还是希望能在默认搜索路径中增加 /usr/share/sing-box,毕竟 ArchLinuxCN 源中 rule-set 相关的文件也放在这里。

可能的相关代码:

https://github.com/MatsuriDayo/nekoray/blob/375ffec58d1f32a67fd74c30924895fcd07117b7/main/NekoGui.cpp#L418-L423

knuffix commented 4 months ago

As for now, simply link existed sing-box to sing-geoip/sing-geosite if corresponded folders does'nt exists

ln -s /usr/share/sing-box /usr/share/sing-geoip

With best regards <3

ludenticus commented 4 months ago

As for now, simply link existed sing-box to sing-geoip/sing-geosite if corresponded folders does'nt exists

ln -s /usr/share/sing-box /usr/share/sing-geoip

With best regards <3

This solved it for me!