Skip to content

Commit

Permalink
Open links on GNU/Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
xtreme8000 committed Apr 7, 2021
1 parent 49c6601 commit aea0f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/file.c
Expand Up @@ -46,7 +46,7 @@ void file_url(char* url) {
system(cmd);
#endif
#if defined(OS_LINUX) || defined(OS_APPLE)
sprintf(cmd, "open %s", url);
sprintf(cmd, "xdg-open %s", url);
system(cmd);
#endif
}
Expand Down

0 comments on commit aea0f0c

Please sign in to comment.