mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +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.initPortableFolder();
|
||||||
|
|
||||||
BaseNoGui.prescanParameters(args);
|
BaseNoGui.initParameters(args);
|
||||||
|
|
||||||
BaseNoGui.initVersion();
|
BaseNoGui.initVersion();
|
||||||
VERSION_NAME = BaseNoGui.VERSION_NAME;
|
VERSION_NAME = BaseNoGui.VERSION_NAME;
|
||||||
|
@ -677,9 +677,7 @@ public class BaseNoGui {
|
|||||||
|
|
||||||
initPortableFolder();
|
initPortableFolder();
|
||||||
|
|
||||||
PreferencesData.init(null);
|
initParameters(args);
|
||||||
|
|
||||||
prescanParameters(args);
|
|
||||||
|
|
||||||
init(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;
|
String preferencesFile = null;
|
||||||
|
|
||||||
// Do a first pass over the commandline arguments, the rest of them
|
// Do a first pass over the commandline arguments, the rest of them
|
||||||
|
Loading…
x
Reference in New Issue
Block a user