Skip to content

Commit

Permalink
Fix Native Messaging script path with BSDs (#8835)
Browse files Browse the repository at this point in the history
Fixes #8830
  • Loading branch information
varjolintu authored and droidmonkey committed Feb 18, 2023
1 parent 90c6348 commit c3bd31c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/NativeMessageInstaller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ QString NativeMessageInstaller::getNativeMessagePath(SupportedBrowsers browser)
} else {
basePath = QDir::homePath() + "/.config";
}
#elif defined(Q_OS_LINUX)
#elif defined(Q_OS_LINUX) || (defined(Q_OS_UNIX) && !defined(Q_OS_MACOS))
if (browser == SupportedBrowsers::TOR_BROWSER) {
basePath = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation);
} else if (browser == SupportedBrowsers::FIREFOX) {
Expand Down

0 comments on commit c3bd31c

Please sign in to comment.