mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-04 07:45:56 +00:00
Supposed fix for opening links on Mac
This commit is contained in:
1 parent
9be155633f
commit
d0268f1cf8
1 file changed
+2
@@ -1050,6 +1050,8 @@ fe_open_url_inner (const char *url)
|
||||
{
|
||||
#ifdef WIN32
|
||||
ShellExecute (0, "open", url, NULL, NULL, SW_SHOWNORMAL);
|
||||
#elif defined __APPLE__
|
||||
try_browser ("open", NULL, url); /* on Mac you can just 'open http://foo.bar/' */
|
||||
#else
|
||||
/* universal desktop URL opener (from xdg-utils). Supports gnome,kde,xfce4. */
|
||||
if (try_browser ("xdg-open", NULL, url))
|
||||
|
||||
Reference in new issue
Block a user