From d5bed42f2de2d43da3a43f7d53c3689564d5b518 Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Sat, 23 Jul 2022 16:47:08 +0200 Subject: [PATCH] mac-syphon: Fix broken license display button on macOS 11+ --- plugins/mac-syphon/syphon.m | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/mac-syphon/syphon.m b/plugins/mac-syphon/syphon.m index c3a3b35b0..975407d59 100644 --- a/plugins/mac-syphon/syphon.m +++ b/plugins/mac-syphon/syphon.m @@ -885,9 +885,11 @@ static void show_syphon_license_internal(void) if (@available(macOS 11.0, *)) { NSURL *url = [NSURL URLWithString: - [NSString - stringWithCString:path - encoding:NSUTF8StringEncoding]]; + [@"file://" + stringByAppendingString: + [NSString + stringWithCString:path + encoding:NSUTF8StringEncoding]]]; [ws openURL:url]; } else { #pragma clang diagnostic push