mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 06:26:14 -05:00
release: prepare GP Connect 3.5.0 with Windows support
This commit is contained in:
172 files changed
+9629
-1171
No files matched your search
@@ -0,0 +1,12 @@
|
||||
//! Generate native Windows posture on Windows, or a Windows emulation preview elsewhere.
|
||||
use gpapi::os_profile::{ClientOs, OsProfile};
|
||||
use gphip::{ReportContext, ReportInput};
|
||||
|
||||
fn main() -> anyhow::Result<()> {
|
||||
let input = ReportInput {
|
||||
profile: gpapi::os_profile::desktop::collect_profile(OsProfile::builder(ClientOs::Windows), None),
|
||||
context: ReportContext::Preview,
|
||||
};
|
||||
println!("{}", gphip::generate_report(&input)?);
|
||||
Ok(())
|
||||
}
|
||||
Reference in new issue
Block a user