From aae9d22038bbcc9d00f7f7b484f78d217e995d01 Mon Sep 17 00:00:00 2001 From: ospab Date: Tue, 23 Jun 2026 00:58:04 +0300 Subject: [PATCH] fix(cli): missing l4_protocol field initialization --- ostp/src/main.rs | 1 + scripts/build.ps1 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ostp/src/main.rs b/ostp/src/main.rs index 2c78720..70d74f1 100644 --- a/ostp/src/main.rs +++ b/ostp/src/main.rs @@ -1881,6 +1881,7 @@ async fn run_app() -> Result<()> { outbound = Some(ostp_server::OutboundConfig { enabled: true, protocol: "socks5".to_string(), + l4_protocol: "all".to_string(), address: server, port, rules, diff --git a/scripts/build.ps1 b/scripts/build.ps1 index 31294dd..6d1eeba 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -252,7 +252,7 @@ Write-Output "" Write-Output "--- Phase 3: CI/CD release ---" Write-Output "Pushing version metadata..." -& git add Cargo.toml Cargo.lock +& git add Cargo.toml Cargo.lock ostp-gui/src-tauri/tauri.conf.json ostp-flutter/pubspec.yaml & git commit -m "CI/CD: release version v$Version" --allow-empty | Out-Null & git push origin master | Out-Null