Skip to content

Commit

Permalink
修复7z.dll加载问题
Browse files Browse the repository at this point in the history
  • Loading branch information
dawn-lc committed Oct 13, 2022
1 parent 74f493a commit b08e896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArchivePasswordTestTool/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ await AnsiConsole.Progress().AutoClear(true).HideCompleted(true).Columns(new Pro
category: "Info",
level: BreadcrumbLevel.Info
);
SevenZipBase.SetLibraryPath("lib/7z.dll");
using var temp = new SevenZipExtractor(file, "");
if (temp.Check())
{
Expand All @@ -261,7 +262,6 @@ await AnsiConsole.Progress().AutoClear(true).HideCompleted(true).Columns(new Pro
category: "Info",
level: BreadcrumbLevel.Info
);
SevenZipBase.SetLibraryPath("lib/7z.dll");
AnsiConsole.Progress().AutoClear(true).HideCompleted(true).Columns(new ProgressColumn[] {
new TaskDescriptionColumn(),
new ProgressBarColumn(),
Expand Down

0 comments on commit b08e896

Please sign in to comment.