Nexus.Client.ModManagement.ModManager.DeleteXMLInstalledFile C# (CSharp) Method

DeleteXMLInstalledFile() private method

If the mod is scripted, deletes the XMLInstalledFiles file inside the InstallInfo\Scripted folder.
private DeleteXMLInstalledFile ( IMod p_modMod ) : void
p_modMod IMod
return void
		private void DeleteXMLInstalledFile(IMod p_modMod)
		{
			string strInstallFilesPath = Path.Combine(Path.Combine(GameMode.GameModeEnvironmentInfo.InstallInfoDirectory, "Scripted"), Path.GetFileNameWithoutExtension(p_modMod.Filename)) + ".xml";
			if (File.Exists(strInstallFilesPath))
				FileUtil.ForceDelete(strInstallFilesPath);
		}
	}