mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-18 12:54:25 +01:00
Modified preferences initialization in BaseNoGui.
This commit is contained in:
parent
1974d77abe
commit
2de206cccd
@ -101,7 +101,7 @@ public class Base {
|
||||
|
||||
BaseNoGui.initPortableFolder();
|
||||
|
||||
BaseNoGui.prescanParameters(args);
|
||||
BaseNoGui.initParameters(args);
|
||||
|
||||
BaseNoGui.initVersion();
|
||||
VERSION_NAME = BaseNoGui.VERSION_NAME;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user