chore: Update required sing-box version to 1.12.0

This commit is contained in:
Andrey Petelin
2025-09-10 19:44:31 +05:00
parent 489c61baa2
commit 49f12b212d

View File

@@ -43,7 +43,7 @@ start_main() {
# checking
sing_box_version=$(sing-box version | head -n 1 | awk '{print $3}')
required_version="1.11.1"
required_version="1.12.0"
if [ "$(echo -e "$sing_box_version\n$required_version" | sort -V | head -n 1)" != "$required_version" ]; then
log "The version of sing-box ($sing_box_version) is lower than the minimum version. Update sing-box: opkg update && opkg remove sing-box && opkg install sing-box" "critical"