feat(installer): add -version flag to pin 3x-ui release

Accepts 3.4.2 or v3.4.2; validates the tag exists on GitHub before
download, falls back to latest when omitted.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Ivan Razin
2026-07-15 16:03:13 +03:00
co-authored by Claude Fable 5
parent c3926222c2
commit 6d0876fd19
4 changed files with 19 additions and 8 deletions
+1
View File
@@ -88,6 +88,7 @@ bash x-ui-latest.sh -uninstall y
| `-subdomain <domain>` | Panel and subscription domain |
| `-reality_domain <domain>` | REALITY destination domain |
| `-auto_domain y` | Auto-detect domain (no manual input) |
| `-version <version>` | Install specific 3x-ui version (e.g. `3.4.2`), default — latest |
| `-uninstall y` | Full uninstall |
---