예제 #1
0
    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());
    }
예제 #2
0
 private static void save(ScorpioIni config)
 {
     FileUtil.CreateFile(CurrentDirectory + "config.ini", config.GetString());
 }