Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
S74nk0 committed Mar 24, 2017
1 parent 723623d commit d24a7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NiceHashMiner/Devices/ComputeDeviceManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ public static void QueryDevices(IMessageNotifier messageNotifier) {
// check NVIDIA nvml.dll and copy over scope
{
string nvmlPath = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles) + "\\NVIDIA Corporation\\NVSMI\\nvml.dll";
if (nvmlPath.Contains(" (x86)")) nvmlPath = nvmlPath.Replace(" (x86)", "");
if (File.Exists(nvmlPath)) {
string copyToPath = Directory.GetCurrentDirectory() + "\\nvml.dll";
if (nvmlPath.Contains(" (x86)")) nvmlPath = nvmlPath.Replace(" (x86)", "");
try {
File.Copy(nvmlPath, copyToPath, true);
Helpers.ConsolePrint(TAG, String.Format("Copy from {0} to {1} done", nvmlPath, copyToPath));
Expand Down

0 comments on commit d24a7c5

Please sign in to comment.