Skip to content

Commit 4cbdef4

Browse files
committed
fix ExamDiff path detection
1 parent bf338c2 commit 4cbdef4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/DiffEngine.Tests/diffTools.include.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ Non-MDI tools are preferred since it allows [DiffEngineTray](tray.md) to track a
163163
"tempFile.txt" "targetFile.txt" /nh /diffonly /dn1:tempFile.txt /dn2:targetFile.txt
164164
```
165165
* Scanned paths:
166-
* `%ProgramFiles%\ExamDiff Pro\ExamDiff.exe`
167-
* `%ProgramW6432%\ExamDiff Pro\ExamDiff.exe`
168-
* `%ProgramFiles(x86)%\ExamDiff Pro\ExamDiff.exe`
166+
* `%ProgramFiles%\ExamDiff Pro*\ExamDiff.exe`
167+
* `%ProgramW6432%\ExamDiff Pro*\ExamDiff.exe`
168+
* `%ProgramFiles(x86)%\ExamDiff Pro*\ExamDiff.exe`
169169
* `%PATH%ExamDiff.exe`
170170

171171
### [Guiffy](https://www.guiffy.com/)

src/DiffEngine/Implementation/ExamDiff.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static string RightArguments(string temp, string target)
3030
Windows: new(
3131
"ExamDiff.exe",
3232
new(LeftArguments, RightArguments),
33-
@"%ProgramFiles%\ExamDiff Pro\")),
33+
@"%ProgramFiles%\ExamDiff Pro*\")),
3434
Notes: """
3535
* [Command line reference](https://www.prestosoft.com/ps.asp?page=htmlhelp/edp/command_line_options)
3636
* `/nh`: do not add files or directories to comparison history

0 commit comments

Comments
 (0)