Skip to content

Commit

Permalink
fix: open_url not working on windows (#3130)
Browse files Browse the repository at this point in the history
* fix: `open_url` not working on windows

* Update src/url_utility.cpp

Co-authored-by: Olanti <[email protected]>

---------

Co-authored-by: Olanti <[email protected]>
  • Loading branch information
scarf005 and olanti-p authored Sep 11, 2023
1 parent 869395b commit 8fc63e4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/url_utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ void open_url( const std::string &url )
{
static const std::string executable =
#if defined(_WIN32)
"explorer";
#elif defined(_WIN64)
"start";
"start \"\"";
#elif defined(__linux__)
"xdg-open";
#elif defined(__APPLE__)
Expand Down

0 comments on commit 8fc63e4

Please sign in to comment.