diff --git a/install.sh b/install.sh index bee771c..12c0e69 100755 --- a/install.sh +++ b/install.sh @@ -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' diff --git a/script/clashctl.sh b/script/clashctl.sh index 589d1ec..7f765e2 100644 --- a/script/clashctl.sh +++ b/script/clashctl.sh @@ -1,5 +1,5 @@ #!/bin/bash -source common.sh +source "$(pwd)/common.sh" # clash快捷指令 function clashon() { systemctl start clash && echo 'clash: 已开启代理环境!' \