Skip to content

Commit

Permalink
Add missing extracted dir path.
Browse files Browse the repository at this point in the history
  • Loading branch information
CartBlanche committed Sep 27, 2023
1 parent 5b42303 commit 1297349
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Meadow.CLI.Core/Managers/DownloadManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,15 @@ public async Task InstallDfuUtil(bool is64Bit = true,
WildernessLabsTemp);

var dfuUtilExe = new FileInfo(
Path.Combine(WildernessLabsTemp, is64Bit ? "win64" : "win32", "dfu-util.exe"));
Path.Combine(WildernessLabsTemp,
"dfu-util-0.11-binaries",
is64Bit ? "win64" : "win32",
"dfu-util.exe"));

var libUsbDll = new FileInfo(
Path.Combine(
WildernessLabsTemp,
"dfu-util-0.11-binaries",
is64Bit ? "win64" : "win32",
"libusb-1.0.dll"));

Expand All @@ -257,7 +261,7 @@ public async Task InstallDfuUtil(bool is64Bit = true,
File.Delete(libUsbPath);
}

_logger.LogInformation("dfu-util 0.10 installed");
_logger.LogInformation("dfu-util 0.11 installed");
}
catch (Exception ex)
{
Expand Down

0 comments on commit 1297349

Please sign in to comment.