/// <summary> /// Creates an empty INI file for the user to configure. /// </summary> static void CreateEmptyIni() { var ini = new IniManager(IniFile) { ReturnDefaultIfEmpty = true }; // Fallout Launcher ini.GetSection(IniSectionLauncher) .InsertComment("Leave empty to ignore") .Add(IniKeyPath, string.Empty) .Add(IniKeyArguments, string.Empty) .InsertEmptyLine(); // FOSE ini.GetSection(IniSectionFOSE) .InsertComment("Leave empty to ignore") .Add(IniKeyPath, string.Empty) .Add(IniKeyArguments, string.Empty) .InsertEmptyLine(); // Mod Organizer ini.GetSection(IniSectionMO) .InsertComment("Leave empty to ignore") .Add(IniKeyPath, string.Empty) .Add(IniKeyArguments, string.Empty) .InsertEmptyLine(); // Custom ini.GetSection(IniSectionCustom) .InsertComment("Leave empty to ignore") .Add(IniKeyName, string.Empty) .Add(IniKeyPath, string.Empty) .Add(IniKeyArguments, string.Empty); ini.Save(); }