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:
|
||||
[@"file://"
|
||||
stringByAppendingString:
|
||||
[NSString
|
||||
stringWithCString:path
|
||||
encoding:NSUTF8StringEncoding]];
|
||||
encoding:NSUTF8StringEncoding]]];
|
||||
[ws openURL:url];
|
||||
} else {
|
||||
#pragma clang diagnostic push
|
||||
|
Loading…
x
Reference in New Issue
Block a user