mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-19 13:54:23 +01:00
BaseNoGui.currentDirectory needs to be initialized before anything else
This commit is contained in:
parent
ad6409d012
commit
46058a5bf6
@ -36,6 +36,10 @@ public class BaseNoGui {
|
||||
public static final String VERSION_NAME = "1.6.6";
|
||||
public static final String VERSION_NAME_LONG;
|
||||
|
||||
// Current directory to use for relative paths specified on the
|
||||
// commandline
|
||||
static String currentDirectory = System.getProperty("user.dir");
|
||||
|
||||
static {
|
||||
String versionNameLong = VERSION_NAME;
|
||||
File hourlyBuildTxt = new File(getContentFile("lib"), "hourlyBuild.txt");
|
||||
@ -52,10 +56,6 @@ public class BaseNoGui {
|
||||
|
||||
static File buildFolder;
|
||||
|
||||
// Current directory to use for relative paths specified on the
|
||||
// commandline
|
||||
static String currentDirectory = System.getProperty("user.dir");
|
||||
|
||||
private static DiscoveryManager discoveryManager = new DiscoveryManager();
|
||||
|
||||
// these are static because they're used by Sketch
|
||||
|
Loading…
x
Reference in New Issue
Block a user