Skip to content

Commit 740c83a

Browse files
committed
v1.4.2 fix
1 parent 085f725 commit 740c83a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

OperatingSystem2.android.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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;

OperatingSystem2.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
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>

0 commit comments

Comments
 (0)