Skip to content

Commit a3866dd

Browse files
committed
Merge pull request #62 from benbalter/windows-fix
Windows fix
2 parents 497cf58 + 6d64056 commit a3866dd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/cliver/dependency_ext.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def path
1414

1515
# Is the detected dependency currently open?
1616
def open?
17-
ProcTable.ps.any? { |p| p.exe == path }
17+
ProcTable.ps.any? { |p| p.comm == path }
1818
end
1919

2020
# Returns the version of the resolved dependency

lib/word-to-markdown.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class WordToMarkdown
2929
PATHS = [
3030
"~/Applications/LibreOffice.app/Contents/MacOS",
3131
"/Applications/LibreOffice.app/Contents/MacOS",
32+
"/C/Program Files (x86)/LibreOffice 5/program",
3233
"/C/Program Files (x86)/LibreOffice 4/program"
3334
]
3435

0 commit comments

Comments
 (0)