Skip to content

Commit 743a738

Browse files
authored
Merge pull request #4798 from tesilaaliset/fix_xray_reset
Fix xray_reset on apply_users mode.
2 parents 613acc9 + 8100ff1 commit 743a738

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

install.sh

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,6 @@ function main() {
9595
#update_progress "${PROGRESS_ACTION}" "ShadowTLS" 60
9696
#install_run other/shadowtls $(hconfig "shadowtls_enable")
9797

98-
99-
update_progress "${PROGRESS_ACTION}" "Xray" 70
100-
if [[ $(hconfig "core_type") == "xray" ]];then
101-
install_run xray 1 &
102-
else
103-
install_run xray 0 &
104-
fi
105-
106-
107-
10898
update_progress "${PROGRESS_ACTION}" "Warp" 75
10999

110100
if [[ $(hconfig "warp_mode") != "disable" ]];then
@@ -117,6 +107,14 @@ function main() {
117107
install_run other/hiddify-cli $(hconfig "hiddifycli_enable") &
118108

119109
fi
110+
111+
update_progress "${PROGRESS_ACTION}" "Xray" 70
112+
if [[ $(hconfig "core_type") == "xray" ]];then
113+
install_run xray 1 &
114+
else
115+
install_run xray 0 &
116+
fi
117+
120118
update_progress "${PROGRESS_ACTION}" "Wireguard" 85
121119
install_run other/wireguard $(hconfig "wireguard_enable") &
122120

0 commit comments

Comments
 (0)