fix ci, no idea why my rustdesk_thirdparty_lib repo can not be checkout

without username
This commit is contained in:
rustdesk 2023-06-24 16:32:39 +08:00
parent 81468902ee
commit da1d3466b7
2 changed files with 4 additions and 4 deletions

View File

@ -86,7 +86,7 @@ jobs:
- name: Install vcpkg dependencies - name: Install vcpkg dependencies
run: | run: |
cd C:\ 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 - name: Build rustdesk
env: env:
@ -178,7 +178,7 @@ jobs:
- name: Install vcpkg dependencies - name: Install vcpkg dependencies
run: | run: |
cd C:\ 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 - name: Build rustdesk
id: build id: build

View File

@ -949,11 +949,11 @@ async fn check_connect_status_(reconnect: bool, rx: mpsc::UnboundedReceiver<ipc:
#[allow(dead_code)] #[allow(dead_code)]
pub fn option_synced() -> bool { pub fn option_synced() -> bool {
#[cfg(not(any(target_os = "android", feature = "ios")))] #[cfg(not(any(target_os = "android", target_os= "ios")))]
{ {
OPTION_SYNCED.lock().unwrap().clone() OPTION_SYNCED.lock().unwrap().clone()
} }
#[cfg(any(target_os = "android", feature = "ios"))] #[cfg(any(target_os = "android", target_os= "ios"))]
{ {
true true
} }