diff --git a/downloads.html b/downloads.html
index be327ce..82cb7f4 100644
--- a/downloads.html
+++ b/downloads.html
@@ -21,7 +21,7 @@ not well-tested and are not recommended for serious use.
- {{download.tag_name}} |
+ {{download.tag_name}} |
{{download.published_at | fromNow}} |
@@ -30,11 +30,12 @@ not well-tested and are not recommended for serious use.
|
|
-
-
+
(Platform)
+ style="margin-right:10px">{{asset.name | platform}}
|
diff --git a/js/ng/dl-control.js b/js/ng/dl-control.js
index cb21a9a..c3c487b 100644
--- a/js/ng/dl-control.js
+++ b/js/ng/dl-control.js
@@ -14,3 +14,13 @@ dlApp.filter('fromNow', function() {
return moment(date).fromNow();
}
});
+
+dlApp.filter('platform', function() {
+ return function(filename) {
+ if(filename.contains("win32")) return "Windows (32-bit)";
+ if(filename.contains("win64")) return "Windows (64-bit)";
+ if(filename.contains("macosx")) return "Mac OS X";
+ return "Other";
+
+ }
+})