File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ partial class OperatingSystem2
3434 if ( manufacturer != "Microsoft Corporation" ) return false ;
3535 if ( brand != "Windows" ) return false ;
3636 if ( device == null || ! device . Contains ( "windows" ) ) return false ;
37- if ( product == null || ! product . Contains ( "windows" ) != true ) return false ;
38- if ( hardware == null || ! hardware . Contains ( "windows" ) != true ) return false ;
37+ if ( product == null || ! product . Contains ( "windows" ) ) return false ;
38+ if ( hardware == null || ! hardware . Contains ( "windows" ) ) return false ;
3939 var osVer = JavaSystem . GetProperty ( "os.version" ) ;
4040 if ( osVer == null || ! osVer . Contains ( "windows-subsystem-for-android" ) ) return false ;
4141 return true ;
Original file line number Diff line number Diff line change 2121 <Description >表示有关操作系统的信息,如版本和平台标识符的通用库。</Description >
2222 <PackageId >OperatingSystem2</PackageId >
2323 <GenerateDocumentationFile >true</GenerateDocumentationFile >
24- <Version >1.4.1 </Version >
24+ <Version >1.4.2 </Version >
2525 <AndroidUseIntermediateDesignerFile >false</AndroidUseIntermediateDesignerFile >
2626 <DisableImplicitNamespaceImports >true</DisableImplicitNamespaceImports >
2727 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments