mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
improved URL launching behaviour
This commit is contained in:
parent
3f4d0d9203
commit
d9e34a6f38
1 changed files with 3 additions and 1 deletions
|
|
@ -859,7 +859,9 @@ bool juce_launchFile (const String& fileName,
|
|||
{
|
||||
bool ok = false;
|
||||
|
||||
if (fileName.startsWithIgnoreCase (T("http:")))
|
||||
if (fileName.startsWithIgnoreCase (T("http:"))
|
||||
|| fileName.startsWithIgnoreCase (T("https:"))
|
||||
|| fileName.startsWithIgnoreCase (T("ftp:")))
|
||||
{
|
||||
CFStringRef urlString = PlatformUtilities::juceStringToCFString (fileName);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue