File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/ironrdp-client/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -442,14 +442,14 @@ impl Config {
442442 . map_or ( 0 , |version| version. major * 100 + version. minor * 10 + version. patch )
443443 . pipe ( u32:: try_from)
444444 . context ( "cargo package version" ) ?,
445- client_name : whoami:: fallible :: hostname ( ) . unwrap_or_else ( |_| "ironrdp" . to_owned ( ) ) ,
445+ client_name : whoami:: hostname ( ) . unwrap_or_else ( |_| "ironrdp" . to_owned ( ) ) ,
446446 // NOTE: hardcode this value like in freerdp
447447 // https://github.com/FreeRDP/FreeRDP/blob/4e24b966c86fdf494a782f0dfcfc43a057a2ea60/libfreerdp/core/settings.c#LL49C34-L49C70
448448 client_dir : "C:\\ Windows\\ System32\\ mstscax.dll" . to_owned ( ) ,
449449 platform : match whoami:: platform ( ) {
450450 whoami:: Platform :: Windows => MajorPlatformType :: WINDOWS ,
451451 whoami:: Platform :: Linux => MajorPlatformType :: UNIX ,
452- whoami:: Platform :: MacOS => MajorPlatformType :: MACINTOSH ,
452+ whoami:: Platform :: Mac => MajorPlatformType :: MACINTOSH ,
453453 whoami:: Platform :: Ios => MajorPlatformType :: IOS ,
454454 whoami:: Platform :: Android => MajorPlatformType :: ANDROID ,
455455 _ => MajorPlatformType :: UNSPECIFIED ,
You can’t perform that action at this time.
0 commit comments