fix: use absolute path

This commit is contained in:
libm committed 2024-11-26 19:04:44 +08:00
1 parent fb65e28f2a
commit a8fdb342a0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/bash
source ./script/clashctl.sh
source "$(pwd)/script/clashctl.sh"
TEMP_CONFIG_PATH='./resource/config.yaml'
TEMP_CLASH_PATH='./resource/clash-linux-amd64-v3-2023.08.17.gz'
TEMP_UI_PATH='./resource/yacd.tar.xz'
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/bash
source common.sh
source "$(pwd)/common.sh"
# clash快捷指令
function clashon() {
systemctl start clash && echo 'clash: 已开启代理环境!' \