diff options
author | 佳木流泉 | 2022-01-11 16:10:58 +0800 |
---|---|---|
committer | 佳木流泉 | 2022-01-11 16:10:58 +0800 |
commit | aa0d2de774da39afbb896b7dba1ca5c34f6903f7 (patch) | |
tree | 1e4deec75720d4e440a8b1ca9328abea18b1eb53 | |
parent | f0cdca5b1053c752e615655027e40ba8fe669b41 (diff) | |
download | aur-aa0d2de774da39afbb896b7dba1ca5c34f6903f7.tar.gz |
路径问题修改
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | cfw | 2 | ||||
-rw-r--r-- | clash-for-windows-chinese.desktop | 4 | ||||
-rw-r--r-- | clash-for-windows.install | 6 |
4 files changed, 7 insertions, 7 deletions
@@ -19,7 +19,7 @@ optdepends=( source=( "${pkgname}-${pkgver}-${arch}-linux.tar.gz::${url}/releases/download/${pkgver}/Clash.for.Windows-${pkgver}-${_parch}-linux.tar.gz" - "https://github.com/ender-zhao/Clash-for-Windows_Chinese/releases/download/CFW-V${pkgver}_CN/app.7z" + "${pkgname}-app-${pkgver}.7z::https://github.com/ender-zhao/Clash-for-Windows_Chinese/releases/download/CFW-V${pkgver}_CN/app.7z" "clash.png::${_logo_url}" "clash-for-windows-chinese.desktop" "cfw" @@ -1,2 +1,2 @@ #!/bin/sh -nohup /opt/clash-for-windows/cfw >/dev/null 2>&1 &
\ No newline at end of file +nohup /opt/clash-for-windows-chinese/cfw >/dev/null 2>&1 & diff --git a/clash-for-windows-chinese.desktop b/clash-for-windows-chinese.desktop index f2fbefac532e..b5794f59dc35 100644 --- a/clash-for-windows-chinese.desktop +++ b/clash-for-windows-chinese.desktop @@ -3,8 +3,8 @@ Type=Application Version=pkgver Name=Clash For Windows Comment=Clash GUI -Exec=/opt/clash-for-windows/cfw +Exec=/opt/clash-for-windows-chinese/cfw Icon=clash.png Terminal=false Keywords=clash -Categories=Network;Utility;
\ No newline at end of file +Categories=Network;Utility; diff --git a/clash-for-windows.install b/clash-for-windows.install index 7eab6d34c77f..2a0faa0cf416 100644 --- a/clash-for-windows.install +++ b/clash-for-windows.install @@ -1,8 +1,8 @@ post_install() { - echo 'You could use `ln -s /usr/share/applications/clash-for-windows.desktop /etc/xdg/autostart/` to enable auto start.' + echo 'You could use `ln -s /usr/share/applications/clash-for-windows-chinese.desktop /etc/xdg/autostart/` to enable auto start.' echo 'Installing Service Mode may requires manually restart of program' } pre_remove() { - rm -f /etc/xdg/autostart/clash-for-windows.desktop 2>/dev/null -}
\ No newline at end of file + rm -f /etc/xdg/autostart/clash-for-windows-chinese.desktop 2>/dev/null +} |