From: Jim Procter Date: Fri, 5 Feb 2021 17:05:03 +0000 (+0000) Subject: JAL-3746 JAL-3812 new argument ‘-nohtmltemplates’ and user preference ‘NOHTMLTEMPLATE... X-Git-Tag: Release_2_11_2_1~31 X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=commitdiff_plain;h=853cdaf827241e4bf51d9a1fef32a395cb72cf45 JAL-3746 JAL-3812 new argument ‘-nohtmltemplates’ and user preference ‘NOHTMLTEMPLATES’ to disable download of templates from GitHub repository --- diff --git a/src/jalview/bin/Jalview.java b/src/jalview/bin/Jalview.java index d5eefe2..357f0e4 100755 --- a/src/jalview/bin/Jalview.java +++ b/src/jalview/bin/Jalview.java @@ -481,7 +481,11 @@ public class Jalview desktop.checkForNews(); } - BioJsHTMLOutput.updateBioJS(); + if (!aparser.contains("nohtmltemplates") + || Cache.getProperty("NOHTMLTEMPLATES") == null) + { + BioJsHTMLOutput.updateBioJS(); + } } }