Skip to content

Commit

Permalink
identify big sur as 11.0 or 10.16
Browse files Browse the repository at this point in the history
  • Loading branch information
koekeishiya committed Oct 3, 2020
1 parent 8e558ff commit 146ed40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workspace.m
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ bool workspace_application_is_finished_launching(struct process *process)
bool workspace_is_macos_bigsur(void)
{
NSOperatingSystemVersion version = [[NSProcessInfo processInfo] operatingSystemVersion];
return version.majorVersion == 11;
return (version.majorVersion == 11) || (version.majorVersion == 10 && version.minorVersion == 16);
}

bool workspace_is_macos_catalina(void)
Expand Down

0 comments on commit 146ed40

Please sign in to comment.