Commit 30bb029
authored
Look for Sublime Merge inside its real bundle (#809)
The one macOS path listed was /Applications/smerge.app/Contents/MacOS/, which
names neither the bundle nor the directory the command line tool is in. The
bundle is "Sublime Merge.app", and smerge lives under Contents/SharedSupport/bin
- MacOS holds the GUI binary.
So a Mac install was never found by directory search, and resolved only for
someone who had put smerge on PATH themselves.
Additive: the correct path is searched first and the old one is kept, so nothing
that resolves today stops resolving.
Not verified against an install - no Mac here - so this rests on Sublime Merge's
documented layout rather than on having watched it resolve.1 parent 1ac9267 commit 30bb029
3 files changed
Lines changed: 8 additions & 0 deletions
File tree
- docs
- src
- DiffEngine.Tests
- DiffEngine/Implementation
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1368 | 1368 | | |
1369 | 1369 | | |
1370 | 1370 | | |
| 1371 | + | |
1371 | 1372 | | |
1372 | 1373 | | |
1373 | 1374 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1233 | 1233 | | |
1234 | 1234 | | |
1235 | 1235 | | |
| 1236 | + | |
1236 | 1237 | | |
1237 | 1238 | | |
1238 | 1239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
| |||
0 commit comments