fix: replace real path for install to fix #163

This commit is contained in:
libm committed 2025-06-13 11:30:29 +08:00
1 parent 0df2fb5206
commit 14cdcf0863
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ _valid_env
_get_kernel
/bin/install -D <(gzip -dc "$ZIP_KERNEL") "${RESOURCES_BIN_DIR}/$BIN_KERNEL_NAME"
/usr/bin/install -D <(gzip -dc "$ZIP_KERNEL") "${RESOURCES_BIN_DIR}/$BIN_KERNEL_NAME"
tar -xf "$ZIP_SUBCONVERTER" -C "$RESOURCES_BIN_DIR"
tar -xf "$ZIP_YQ" -C "${RESOURCES_BIN_DIR}"
# shellcheck disable=SC2086
+1 -1
View File
@@ -99,7 +99,7 @@ _set_rc() {
echo "source $CLASH_SCRIPT_DIR/common.sh && source $CLASH_SCRIPT_DIR/clashctl.sh && watch_proxy" |
tee -a "$SHELL_RC_BASH" "$SHELL_RC_ZSH" >&/dev/null
[ -n "$SHELL_RC_FISH" ] && /bin/install $SCRIPT_FISH "$SHELL_RC_FISH"
[ -n "$SHELL_RC_FISH" ] && /usr/bin/install $SCRIPT_FISH "$SHELL_RC_FISH"
}
# 默认集成、安装mihomo内核