Add heartbeat Xray remote control and v121

This commit is contained in:
kzolotarev95 committed 2026-11-05 23:40:08 +04:00
1 parent e942ccfcd9
commit 6cf3ae7c0f
100 files changed
+1631 -218

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ $RemoteScript = @'
set -eu
stage=/tmp/__UPLOAD_NAME__
target=/opt/owrt-remote/owrt-remote-hub.py
backup=/opt/owrt-remote/owrt-remote-hub.py.bak-before-update-status-ui-v120
backup=/opt/owrt-remote/owrt-remote-hub.py.bak-before-update-status-ui-v121
candidate=$target.new-__UPLOAD_NAME__
changed=0
@@ -139,7 +139,7 @@ if [ "$healthy" -ne 1 ]; then
fi
cat "$stage/health-check"
cmp "$source_file" "$target"
printf '\nBackup: %s\nUPDATE_STATUS_UI_V120_%s_OK\n' "$backup" '__ACTION__'
printf '\nBackup: %s\nUPDATE_STATUS_UI_V121_%s_OK\n' "$backup" '__ACTION__'
if [ '__ACTION__' = Install ]; then
echo 'Reload the Hub page (Ctrl+F5) to load the new UI.'
echo 'This fix is LOCAL. The panel update button can replace it with the published repository build.'