using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BeatSaber_Versions.controller.helper { internal class ConfigFile { static public bool isConfigFileThere(string path) { return File.Exists(path); } static public VersionConfigDict createEmptyConfig() { VersionConfig tmp = new VersionConfig(); VersionConfigDict conf = new VersionConfigDict(); tmp.name = "Example"; tmp.path = "C:\\Steam\\Beat Saber"; tmp.version = "1.21.0"; conf.versions = new Dictionary(); conf.versions.Add(tmp.version, tmp); return conf; } } }