diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index 20a4658aa..f6f418117 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -101,7 +101,7 @@ public class Base { BaseNoGui.initPortableFolder(); - BaseNoGui.prescanParameters(args); + BaseNoGui.initParameters(args); BaseNoGui.initVersion(); VERSION_NAME = BaseNoGui.VERSION_NAME; diff --git a/app/src/processing/app/BaseNoGui.java b/app/src/processing/app/BaseNoGui.java index e6ae03115..825af095c 100644 --- a/app/src/processing/app/BaseNoGui.java +++ b/app/src/processing/app/BaseNoGui.java @@ -677,9 +677,7 @@ public class BaseNoGui { initPortableFolder(); - PreferencesData.init(null); - - prescanParameters(args); + initParameters(args); init(args); } @@ -744,7 +742,7 @@ public class BaseNoGui { } } - static public void prescanParameters(String args[]) { + static public void initParameters(String args[]) { String preferencesFile = null; // Do a first pass over the commandline arguments, the rest of them