diff --git a/src/AppPlatform_glfw.h b/src/AppPlatform_glfw.h index 8d3ee28..4133cf0 100755 --- a/src/AppPlatform_glfw.h +++ b/src/AppPlatform_glfw.h @@ -130,6 +130,9 @@ public: virtual void openURL(const std::string& url) { #ifdef _WIN32 ShellExecuteA(NULL, "open", url.c_str(), NULL, NULL, SW_SHOWNORMAL); +#elif __linux__ + std::string command = "xdg-open " + url; + system(command.c_str()); #endif }