public static void SetConfig(PROGRAM program, string key, string value, ConfigFile file) { ScorpioIni config = GetConfig(file); config.Set(program == PROGRAM.NONE ? "" : program.ToString(), key, value); FileUtil.CreateFile(WorkspaceDirectory + file.ToString() + ".ini", config.GetString()); }
private static void save(ScorpioIni config) { FileUtil.CreateFile(CurrentDirectory + "config.ini", config.GetString()); }