Reset back to Lime config

This commit is contained in:
Joshua Granick
2018-08-06 12:58:11 -07:00
parent 44ce8eae06
commit 87a956741d

View File

@@ -22,13 +22,13 @@ class ConfigHelper {
if (FileSystem.exists (config)) {
Log.info ("", Log.accentColor + "Reading HXP config: " + config + Log.resetColor);
Log.info ("", Log.accentColor + "Reading Lime config: " + config + Log.resetColor);
return new ProjectXMLParser (config);
} else {
Log.warn ("", "Could not read HXP config: " + config);
Log.warn ("", "Could not read Lime config: " + config);
}
@@ -43,9 +43,9 @@ class ConfigHelper {
var environment = Sys.environment ();
if (environment.exists ("HXP_CONFIG")) {
if (environment.exists ("LIME_CONFIG")) {
configPath = environment.get ("HXP_CONFIG");
configPath = environment.get ("LIME_CONFIG");
} else {
@@ -67,7 +67,7 @@ class ConfigHelper {
}
configPath = home + "/.hxp/config.xml";
configPath = home + "/.lime/config.xml";
if (System.hostPlatform == WINDOWS) {
@@ -75,18 +75,6 @@ class ConfigHelper {
}
if (!FileSystem.exists (configPath)) {
var limeConfig = home + "/.lime/config.xml";
if (FileSystem.exists (limeConfig)) {
System.copyFile (limeConfig, configPath);
}
}
if (!FileSystem.exists (configPath)) {
System.mkdir (Path.directory (configPath));