JAL-1188 - set the user agent to Jalview Desktop/${VERSION}
[jalview.git] / src / jalview / bin / Jalview.java
index 362b15e..7920fa9 100755 (executable)
@@ -157,7 +157,7 @@ public class Jalview
     {
       headless = true;
     }
-
+    System.setProperty("http.agent", "Jalview Desktop/"+Cache.getDefault("VERSION", "Unknown"));
     try
     {
       Cache.initLogger();
@@ -216,6 +216,7 @@ public class Jalview
           }
         }
       }
+      desktop.checkForNews();
     }
 
     String file = null, protocol = null, format = null, data = null;