0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00

mac-syphon: Fix broken license display button on macOS 11+

This commit is contained in:
PatTheMav 2022-07-23 16:47:08 +02:00 committed by Patrick Heyer
parent b555dcb8e2
commit d5bed42f2d

View File

@ -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