public static void WriteDefaultIni() { if (!Directory.Exists("./FO4Alternativelauncher")) { Directory.CreateDirectory("./FO4Alternativelauncher"); } IniFile settingFile = new IniReader.IniFile(AppSettingPath); settingFile.Write(OpenConsole.VarName, (Convert.ToInt32(OpenConsole.VarValue)).ToString(), OpenConsole.Section); settingFile.Write(EXEPath.VarName, EXEPath.VarValue.ToString(), EXEPath.Section); return; }
public static void WriteDefaultIni() { if (!Directory.Exists("./FO4Alternativelauncher")) Directory.CreateDirectory("./FO4Alternativelauncher"); IniFile settingFile = new IniReader.IniFile(AppSettingPath); settingFile.Write(OpenConsole.VarName, (Convert.ToInt32(OpenConsole.VarValue)).ToString(), OpenConsole.Section); settingFile.Write(EXEPath.VarName, EXEPath.VarValue.ToString(), EXEPath.Section); return; }