|
@@ -17,10 +17,11 @@ namespace GFGEditor
|
|
|
|
|
|
public static void Init()
|
|
public static void Init()
|
|
{
|
|
{
|
|
- using (StreamReader sr = new StreamReader(ExcelConfig.templatePath + "Config.txt"))
|
|
|
|
- {
|
|
|
|
- ConfigTemplate = sr.ReadToEnd();
|
|
|
|
- }
|
|
|
|
|
|
+ ConfigTemplate = File.ReadAllText(ExcelConfig.templatePath + "Config.txt");
|
|
|
|
+ //using (StreamReader sr = new StreamReader(ExcelConfig.templatePath + "Config.txt"))
|
|
|
|
+ //{
|
|
|
|
+ // ConfigTemplate = sr.ReadToEnd();
|
|
|
|
+ //}
|
|
using (StreamReader sr = new StreamReader(ExcelConfig.templatePath + "ConfigArray.txt"))
|
|
using (StreamReader sr = new StreamReader(ExcelConfig.templatePath + "ConfigArray.txt"))
|
|
{
|
|
{
|
|
ConfigArrayTemplate = sr.ReadToEnd();
|
|
ConfigArrayTemplate = sr.ReadToEnd();
|