JAL-4001 Added useful props information
authorBen Soares <b.soares@dundee.ac.uk>
Tue, 27 Jun 2023 12:35:30 +0000 (13:35 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Tue, 27 Jun 2023 12:40:06 +0000 (13:40 +0100)
src/jalview/analytics/Plausible.java

index 98c725a..b031c47 100644 (file)
@@ -85,6 +85,9 @@ public class Plausible
             System.getProperty("os.arch") + " "
                     + System.getProperty("os.name") + " "
                     + System.getProperty("os.version"));
+    defaultProps.put("os", System.getProperty("os.name"));
+    defaultProps.put("os_version", System.getProperty("os.version"));
+    defaultProps.put("os_arch", System.getProperty("os.arch"));
     String installation = Cache.applicationProperties
             .getProperty("INSTALLATION");
     if (installation != null)