Skip to content

Commit

Permalink
Fix for machine code on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
artemlos committed Mar 29, 2022
1 parent 4f9ddc7 commit 25db6af
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Company>Cryptolens AB</Company>
<Authors>Cryptolens AB</Authors>
<Version>4.0.36-rc</Version>
<AssemblyVersion>4.0.36.1</AssemblyVersion>
<FileVersion>4.0.36.1</FileVersion>
<Version>4.0.36-rc2</Version>
<AssemblyVersion>4.0.36.2</AssemblyVersion>
<FileVersion>4.0.36.2</FileVersion>
<Description>An API documentation can be found at https://help.cryptolens.io/api/dotnet/.

This is a client API that serves as an interface to Cryptolens Web API (app.cryptolens.io/docs/api/).
Expand Down
6 changes: 3 additions & 3 deletions Cryptolens.Licensing/Cryptolens.Licensing.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Company>Cryptolens AB</Company>
<Authors>Cryptolens AB</Authors>
<Version>4.0.36-rc</Version>
<AssemblyVersion>4.0.36.1</AssemblyVersion>
<FileVersion>4.0.36.1</FileVersion>
<Version>4.0.36-rc2</Version>
<AssemblyVersion>4.0.36.2</AssemblyVersion>
<FileVersion>4.0.36.2</FileVersion>
<Description>An API documentation can be found at https://help.cryptolens.io/api/dotnet/.

This is a client API that serves as an interface to Cryptolens Web API (app.cryptolens.io/docs/api/).
Expand Down
4 changes: 2 additions & 2 deletions Cryptolens.Licensing/SKMv3/Helpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public enum OSType {

public static OSType GetPlatform()
{
#if (NETSTANDARD2_0 || NET471 ||NET48)
#if (NETSTANDARD2_0 || NET471 || NET48)
if (System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(System.Runtime.InteropServices.OSPlatform.Linux))
{
return OSType.Linux;
Expand Down Expand Up @@ -469,7 +469,7 @@ public static string GetMachineCode(bool platformIndependent = false, int v = 1/
#if !SYSTEM_MANAGEMENT
platformIndependent = true;
#endif
if (os == OSType.Unix)
if (os == OSType.Unix ||os == OSType.Linux || os == OSType.Mac)
{
//unix

Expand Down

0 comments on commit 25db6af

Please sign in to comment.