/// <summary> /// Try to repair our registry. /// </summary> private int Registry() { CurrentInstance.Registry.Repair(); CurrentInstance.RegistryManager.Save(); CurrentInstance.RebuildFactorioModlist(); User.RaiseMessage("Registry repairs attempted. Hope it helped."); return(Exit.OK); }