From 4ce96da3c4e3d16764d64efdbc546cb14020ce7b Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Sun, 26 Apr 2020 14:37:15 +0200 Subject: [PATCH] direct Main with arguments to CLI version --- Instance.java | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Instance.java b/Instance.java index f48d05b..d0d1c84 100644 --- a/Instance.java +++ b/Instance.java @@ -48,8 +48,19 @@ public class Instance { /** * Initialise the instance -- if already initialised, nothing will happen. *

- * Before calling this method, you may call {@link Bundles#setDirectory(String)} - * if wanted. + * Before calling this method, you may call + * {@link Bundles#setDirectory(String)} if wanted. + *

+ * Note that this method will honour some environment variables, the 3 most + * important ones probably being: + *

*/ static public void init() { init(false); @@ -465,7 +476,6 @@ public class Instance { BasicLibrary lib = null; boolean useRemote = config.getBoolean(Config.REMOTE_LIBRARY_ENABLED, false); - if (useRemote) { String host = null; int port = -1; -- 2.27.0