From 87a956741d817b36b2f563693f6e940bda8900b5 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Mon, 6 Aug 2018 12:58:11 -0700 Subject: [PATCH] Reset back to Lime config --- src/lime/tools/ConfigHelper.hx | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/src/lime/tools/ConfigHelper.hx b/src/lime/tools/ConfigHelper.hx index b5e0cf34b..5973fcfb6 100644 --- a/src/lime/tools/ConfigHelper.hx +++ b/src/lime/tools/ConfigHelper.hx @@ -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));