From da1d3466b7a9567ff2d5524ad91855c0536076c7 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Sat, 24 Jun 2023 16:32:39 +0800 Subject: [PATCH] fix ci, no idea why my rustdesk_thirdparty_lib repo can not be checkout without username --- .github/workflows/flutter-build.yml | 4 ++-- src/ui_interface.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/flutter-build.yml b/.github/workflows/flutter-build.yml index 59385a7df..6b0a4971f 100644 --- a/.github/workflows/flutter-build.yml +++ b/.github/workflows/flutter-build.yml @@ -86,7 +86,7 @@ jobs: - name: Install vcpkg dependencies run: | cd C:\ - git clone https://github.com/rustdesk-org/rustdesk_thirdpary_lib --depth=1 + git clone https://github.com/Kingtous/rustdesk_thirdpary_lib --depth=1 - name: Build rustdesk env: @@ -178,7 +178,7 @@ jobs: - name: Install vcpkg dependencies run: | cd C:\ - git clone https://github.com/rustdesk-org/rustdesk_thirdpary_lib --depth=1 + git clone https://github.com/Kingtous/rustdesk_thirdpary_lib --depth=1 - name: Build rustdesk id: build diff --git a/src/ui_interface.rs b/src/ui_interface.rs index 6e99e5fa8..b9514dd2d 100644 --- a/src/ui_interface.rs +++ b/src/ui_interface.rs @@ -949,11 +949,11 @@ async fn check_connect_status_(reconnect: bool, rx: mpsc::UnboundedReceiver bool { - #[cfg(not(any(target_os = "android", feature = "ios")))] + #[cfg(not(any(target_os = "android", target_os= "ios")))] { OPTION_SYNCED.lock().unwrap().clone() } - #[cfg(any(target_os = "android", feature = "ios"))] + #[cfg(any(target_os = "android", target_os= "ios"))] { true }