Fixed: Version check for XcodeCapp compatibility with Big Sur (#2954)

This commit is contained in:
David Richardson authored and GitHub committed 2020-11-20 08:20:19 +01:00
1 parent 35420732d1
commit c52f714149
1 file changed
+2 -2
+2 -2
View File
@@ -24,9 +24,9 @@ task ("build", function()
minorVersion = parseInt(versions[1], 10),
buildVersion = parseInt(versions[2], 10);
if (majorVersion < 10 || minorVersion < 7)
if (!((majorVersion == 11) || (majorVersion == 10 && minorVersion >= 12)))
{
colorPrint("XcodeCapp can only be built on Mac OS X 10.7+. You can download the binary here: https://www.dropbox.com/sh/gxdgm356gyb9tqc/rFNyl8hcVG", "red");
colorPrint("XcodeCapp requires at least macOS Sierra.", "red");
p.stdin.close();
p.stdout.close();