]> gitweb.factorcode.org Git - factor.git/commitdiff
webapps.mason.utils: update requirements
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 21 Aug 2023 17:50:03 +0000 (10:50 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 21 Aug 2023 17:50:03 +0000 (10:50 -0700)
extra/webapps/mason/utils/utils.factor

index ad9470a0d14e1050f82bfbbc7d257118137c6ea6..3213d09573fc7362caf23b7a9fb3059d162f08c8 100644 (file)
@@ -22,20 +22,11 @@ IN: webapps.mason.utils
     release new "os" value >>os "cpu" value >>cpu select-tuple ;
 
 : requirements ( builder -- xml )
-    [
-        os>> {
-            { "windows" "Windows XP, Windows Vista or Windows 7" }
-            { "macosx" "Mac OS X 10.5 Leopard" }
-            { "linux" "Ubuntu Linux 9.04 (other distributions may also work)" }
-        } at
-    ] [
-        dup cpu>> "x86.32" = [
-            os>> "macosx" =
-            f "Intel Pentium 4, Core Duo, or other x86 chip with SSE2 support. Note that 32-bit Athlon XP processors do not support SSE2."
-            ?
-        ] [ drop f ] if
-    ] bi
-    2array sift [ [XML <li><-></li> XML] ] map [XML <ul><-></ul> XML] ;
+    os>> {
+        { "windows" "Windows 10, Windows 11, or newer" }
+        { "macosx" "macOS 11 (Big Sur) or newer" }
+        { "linux" "Ubuntu Linux 20.04 or newer (other distributions may also work)" }
+    } at [XML <ul><li><-></li></ul> XML] ;
 
 : download-url ( string -- string' )
     "https://downloads.factorcode.org/" prepend ;