mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-18 22:16:18 -05:00
feat: add portable GlobalProtect APIs and iOS tunnel support
This commit is contained in:
112 files changed
+3864
-3011
No files matched your search
@@ -2,7 +2,7 @@ use clap::{ValueEnum, builder::PossibleValue};
|
||||
|
||||
use crate::{
|
||||
gp_params::CscMode,
|
||||
os_profile::{ClientOs, runtime_client_os},
|
||||
os_profile::{ClientOs, desktop::runtime_client_os},
|
||||
};
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, ValueEnum)]
|
||||
@@ -31,6 +31,7 @@ impl Default for Os {
|
||||
ClientOs::Linux => Os::Linux,
|
||||
ClientOs::Windows => Os::Windows,
|
||||
ClientOs::Mac => Os::Mac,
|
||||
ClientOs::Ios => unreachable!("The desktop CLI is not available on iOS"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user