Skip to content

Commit

Permalink
Updated WinLibrary to latest version
Browse files Browse the repository at this point in the history
This bugfix means all adapters known to windows are stored in each profile, which means that if any video cards are added or removed, then the display profiles won't match, even if those adapters aren't used in the display layout. This change was made to ensure that all cloned displays will work. This change makes DisplayMagician more inline with our goal - if the hardware changes then displaymagician should require the user to create new display profiles.
  • Loading branch information
terrymacdonald committed Jun 16, 2022
1 parent cc23ca9 commit 99dede7
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 50 deletions.
6 changes: 3 additions & 3 deletions NVIDIAInfo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ static void Main(string[] args)
NLog.LogManager.Configuration = config;

// Start the Log file
SharedLogger.logger.Info($"NVIDIAInfo/Main: Starting NVIDIAInfo v1.8.0");
SharedLogger.logger.Info($"NVIDIAInfo/Main: Starting NVIDIAInfo v1.8.1");


Console.WriteLine($"\nNVIDIAInfo v1.8.0");
Console.WriteLine($"\nNVIDIAInfo v1.8.1");
Console.WriteLine($"=================");
Console.WriteLine($"By Terry MacDonald (c) 2022\n");

// First check that we have an NVIDIA Video Card in this PC
List<string> videoCardVendors = WinLibrary.GetLibrary().GetCurrentPCIVideoCardVendors();
List<string> videoCardVendors = WinLibrary.GetLibrary().GetAllPCIVideoCardVendors();
if (!NVIDIALibrary.GetLibrary().PCIVendorIDs.All(value => videoCardVendors.Contains(value)))
{
SharedLogger.logger.Error($"NVIDIAInfo/Main: There are no NVIDIA Video Cards enabled within this computer. NVIDIAInfo requires at least one NVIDIA Video Card to work. Please use DisplayMagician instead.");
Expand Down
4 changes: 2 additions & 2 deletions NVIDIAInfo/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,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("1.8.0.0")]
[assembly: AssemblyFileVersion("1.8.0.0")]
[assembly: AssemblyVersion("1.8.1.0")]
[assembly: AssemblyFileVersion("1.8.1.0")]
Loading

0 comments on commit 99dede7

Please sign in to comment.