Skip to content

Commit 86c1b93

Browse files
committed
fix bad platform check
1 parent b140f73 commit 86c1b93

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# next
22
- `contrib/qbpm.desktop`: add `MimeType` and `Keywords`, fix incorrect formatting of `Categories`
33
- allow help text to be slightly wider to avoid awkward line breaks
4+
- macOS: fix detection of qutebrowser binary in /Applications
45

56
# 1.0rc4
67
- `choose`: support `walker`, `tofi`, and `wmenu`

src/qbpm/paths.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
def qutebrowser_exe() -> str:
99
macos_app = "/Applications/qutebrowser.app/Contents/MacOS/qutebrowser"
10-
if platform == "darwin" and Path(macos_app).exists():
10+
if platform.system() == "Darwin" and Path(macos_app).exists():
1111
return macos_app
1212
else:
1313
return "qutebrowser"

0 commit comments

Comments
 (0)