JAL-4001 Added 'installation' property.
authorBen Soares <b.soares@dundee.ac.uk>
Thu, 22 Jun 2023 15:06:40 +0000 (16:06 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Thu, 22 Jun 2023 15:06:40 +0000 (16:06 +0100)
src/jalview/analytics/Plausible.java

index daf2d9a..1f2754e 100644 (file)
@@ -85,6 +85,12 @@ public class Plausible
             System.getProperty("os.arch") + " "
                     + System.getProperty("os.name") + " "
                     + System.getProperty("os.version"));
+    String installation = Cache.applicationProperties
+            .getProperty("INSTALLATION");
+    if (installation != null)
+    {
+      defaultProps.put("installation", installation);
+    }
 
     // ascertain the API_BASE_URL
     API_BASE_URL = getAPIBaseURL();