Skip to content

Commit

Permalink
fix: use xdg-open for opening URL on FreeBSD (#5587)
Browse files Browse the repository at this point in the history
url_utility.cpp: fix for FreeBSD
  • Loading branch information
mord0d authored Oct 20, 2024
1 parent 88c3a84 commit ee91baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/url_utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ void open_url( const std::string &url )
static const std::string executable =
#if defined(_WIN32)
"start \"\"";
#elif defined(__linux__)
#elif defined(__linux__) || defined(__FreeBSD__)
"xdg-open";
#elif defined(__APPLE__)
"open";
Expand Down

0 comments on commit ee91baf

Please sign in to comment.