@Minami926494 已通过软链接修复该问题
PKGBUILD 增加:
ln -sf /usr/bin/clash-meta ${pkgdir}/usr/bin/verge-mihomo
Git Clone URL: | https://aur.archlinux.org/clash-verge.git (read-only, click to copy) |
---|---|
Package Base: | clash-verge |
Description: | A Clash Meta GUI based on Tauri, Continuation of Clash Verge |
Upstream URL: | https://github.com/clash-verge-rev/clash-verge-rev |
Licenses: | GPL-3.0-or-later |
Submitter: | sukanka |
Maintainer: | Kiri0 (lilac) |
Last Packager: | lilac |
Votes: | 6 |
Popularity: | 0.64 |
First Submitted: | 2022-09-24 13:11 (UTC) |
Last Updated: | 2024-07-16 15:17 (UTC) |
@Minami926494 已通过软链接修复该问题
PKGBUILD 增加:
ln -sf /usr/bin/clash-meta ${pkgdir}/usr/bin/verge-mihomo
由1.6.x或更低版本升至1.7.1-1后,需更改内核为mihomo,并在usr/bin目录内将mihomo二进制文件命名为"verge-mihomo"才可被应用读取
最新版1.6.5从源码编译出错:
Error `tauri.conf.json` error on `tauri > bundle > deb`: Additional properties are not allowed ('conflicts', 'provides', 'replaces' were unexpected)
Error `tauri.conf.json` error on `tauri > bundle > targets`: ["deb","rpm","appimage","updater"] is not valid under any of the schemas listed in the 'anyOf' keyword
Error `tauri.conf.json` error on `tauri > bundle`: Additional properties are not allowed ('rpm' was unexpected)
@Zylsjsp:
"尝试编译安装1.6.5时无法通过编译 查找相关依赖问题 发现针对rpm和deb包的新增功能使用了@tauri-apps/>cli的beta api (于tauri-apps/tauri@36b4c12 中引入 至少需要版本为 tauri-v2.0)
该问题预期会影响所有从源码编译安装的linux用户"
详见issue
关于loong64, 在mihomo解决这个不恰当的commit前,不考虑跟进。理由如下:
一. 不安全。链接到第三方仓库。 在go官方有loong64包支持下,仍从个人的仓库下载go。
- name: Set up Go1.21 loongarch abi2
if: ${{ matrix.jobs.goarch == 'loong64' && matrix.jobs.abi == '2' }}
run: |
wget -q https://github.com/xishang0128/loongarch64-golang/releases/download/1.21.5/go1.21.5.linux-amd64-abi2.tar.gz
二. 不符合社区主流命名规则。目前主流的命名规则,新世界一律loong64。此commit将其改为loong64-abi1,没必要
clash-verge-rev已经可以在龙芯上编译运行,能否添加loong64支持?具体可参考AOSC的脚本: https://github.com/AOSC-Dev/aosc-os-abbs/tree/stable/app-network/clash-verge-rev
clash-verge和clash-verge-rev是两个不同的项目,这个包应该保留在1.3.8,单独创建clash-verge-rev源码包
启动白屏的可以试下 https://github.com/zzzgydi/clash-verge/issues/847#issuecomment-1791876185 的做法,使用 WEBKIT_DISABLE_COMPOSITING_MODE=1 clash-verge
来启动,如果可行的话,可以将 /usr/share/applications/clash-verge.desktop
中的 Exec=clash-verge
替换为 Exec=env WEBKIT_DISABLE_COMPOSITING_MODE=1 /usr/bin/clash-verge
来实现通过 DE 搜索启动非白屏程序的效果
yay进行更新时,编译go会出现错误 linkmode requires external (cgo) linking, but cgo is not enabled
但是在go env中显示CGO_ENABLED=1 如何解决?
安装后,需选择内核,否则一片空白。 Settings -> Clash Core (GRANT 是给权限,不选中。 要选中内核,必须在内核名字处点一下!!!坑!)
本包对应的二进制包是clash-verge-rev-bin。不想编译的直接装-bin,香。
Pinned Comments
Kiri0 commented on 2024-01-18 02:47 (UTC) (edited on 2024-01-18 02:51 (UTC) by Kiri0)
安装后,需选择内核,否则一片空白。 Settings -> Clash Core (GRANT 是给权限,不选中。 要选中内核,必须在内核名字处点一下!!!坑!)
本包对应的二进制包是clash-verge-rev-bin。不想编译的直接装-bin,香。