Skip to content

Commit

Permalink
App release (v2024.6.1)
Browse files Browse the repository at this point in the history
Fixes an oversight that makes systems with no virtualization support unintentionally pass the Virtual Machine test
  • Loading branch information
thebookisclosed committed Jun 1, 2024
1 parent 89a0251 commit 5804273
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Amperage/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2024.5.31.0")]
[assembly: AssemblyFileVersion("2024.5.31.0")]
[assembly: AssemblyVersion("2024.6.1.0")]
[assembly: AssemblyFileVersion("2024.6.1.0")]
4 changes: 2 additions & 2 deletions VmDetection/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2024.5.31.0")]
[assembly: AssemblyFileVersion("2024.5.31.0")]
[assembly: AssemblyVersion("2024.6.1.0")]
[assembly: AssemblyFileVersion("2024.6.1.0")]
2 changes: 1 addition & 1 deletion VmDetection/VmHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static bool IsVM()
return false;
var hvId = info.HvVendorAndMaxFunction.DataUInt32[1] | ((ulong)info.HvVendorAndMaxFunction.DataUInt32[2] << 32);
// QCOM
if (hvId != 0x4D4F4351 && (info.HvFeatures.DataUInt64[0] & 0x100000000000) == 0)
if (hvId != 0 && hvId != 0x4D4F4351 && (info.HvFeatures.DataUInt64[0] & 0x100000000000) == 0)
return true;
return false;
}
Expand Down

0 comments on commit 5804273

Please sign in to comment.