From b841053628954565a20c233bf538ca56f074f019 Mon Sep 17 00:00:00 2001 From: ospab Date: Sun, 14 Jun 2026 01:49:06 +0300 Subject: [PATCH] fix(jni): add exclusions_rx param to run_native_tunnel_from_fd stub to fix non-Android builds --- ostp-client/src/tunnel/native_handler.rs | 1 + ostp-flutter/pubspec.yaml | 2 +- ostp-gui/src-tauri/tauri.conf.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ostp-client/src/tunnel/native_handler.rs b/ostp-client/src/tunnel/native_handler.rs index 9cfcf20..d137786 100644 --- a/ostp-client/src/tunnel/native_handler.rs +++ b/ostp-client/src/tunnel/native_handler.rs @@ -737,6 +737,7 @@ pub async fn run_native_tunnel_from_fd( pub async fn run_native_tunnel_from_fd( _config: crate::config::ClientConfig, _shutdown: watch::Receiver, + _exclusions_rx: watch::Receiver, _fd: i32, ) -> Result<()> { Err(anyhow!("Native TUN from FD is only supported on Android")) diff --git a/ostp-flutter/pubspec.yaml b/ostp-flutter/pubspec.yaml index 8217f06..0bca5b5 100644 --- a/ostp-flutter/pubspec.yaml +++ b/ostp-flutter/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 0.2.95+10 +version: 0.2.96+11 environment: sdk: ^3.11.4 diff --git a/ostp-gui/src-tauri/tauri.conf.json b/ostp-gui/src-tauri/tauri.conf.json index ba41066..86bebb2 100644 --- a/ostp-gui/src-tauri/tauri.conf.json +++ b/ostp-gui/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "ostp-gui", - "version": "0.2.95", + "version": "0.2.96", "identifier": "com.ospab.ostp", "build": { "frontendDist": "../src"