Hi, on Mac OS launchUrlInDefaultBrowser() in juce 1.45 fails to open urls of the form
file:///Lisp/grace/build/Grace.app/Contents/Resources/doc/scheme.html#go
because juce_launchFile() doesnt recognize “file:” as the start of a url.
if I change the definition of juce_launchFile() in juce_mac_Files.cpp to include a test for “file:” then it works great:
if (fileName.startsWithIgnoreCase (T("http:"))
|| fileName.startsWithIgnoreCase (T("file:"))
|| fileName.startsWithIgnoreCase (T("https:"))
|| fileName.startsWithIgnoreCase (T("ftp:")))
{
…
best, rick