Skip to content

Commit 7297638

Browse files
committed
fix(xray): check status update to support new versions
1 parent a939f8a commit 7297638

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ ifeq ($(UNAME_S),Linux)
9797
if [ "$(DISTRO)" = "debian" ] || [ "$(DISTRO)" = "ubuntu" ] || \
9898
[ "$(DISTRO)" = "centos" ] || [ "$(DISTRO)" = "rhel" ] || [ "$(DISTRO)" = "fedora" ] || \
9999
[ "$(DISTRO)" = "arch" ]; then \
100-
sudo bash -c "$$(curl -L https://github.com/Gozargah/Marzban-scripts/raw/master/install_latest_xray.sh)"; \
100+
sudo bash -c "$$(curl -L https://github.com/PasarGuard/scripts/raw/main/install_core.sh)"; \
101101
else \
102-
bash -c "$$(curl -L https://github.com/Gozargah/Marzban-scripts/raw/master/install_latest_xray.sh)"; \
102+
bash -c "$$(curl -L https://github.com/PasarGuard/scripts/raw/main/install_core.sh)"; \
103103
fi
104104

105105
else

backend/xray/jobs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func (x *Xray) checkXrayStatus() error {
2727
for {
2828
select {
2929
case lastLog := <-logChan:
30-
if strings.Contains(lastLog, "Xray "+version+" started") {
30+
if strings.Contains(lastLog, "Xray "+version) {
3131
return nil
3232
}
3333

0 commit comments

Comments
 (0)