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:
parent
b555dcb8e2
commit
d5bed42f2d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user