update 1.1.25

This commit is contained in:
2024-03-13 02:26:45 +08:00
parent da2d233cee
commit c56a4667ae
2 changed files with 12 additions and 1 deletions

View File

@@ -95,6 +95,17 @@ namespace Topon_Adapter.Editor
//增加穿山甲配置
elementlauncherApplication.Add (CreateCSJGromore ());
}
var elementMainManifest = manifest.Element ("manifest");
var elementMainApplication = elementMainManifest.Element ("application");
var maincsjElements = elementMainApplication.Descendants ().Where (element => element.Name.LocalName.Equals ("provider"));
XElement maincsjElement = GetElementByName (maincsjElements, "com.bytedance.sdk.openadsdk.TTFileProvider");
if (csjElement == null)
{
//增加穿山甲配置
elementMainApplication.Add (CreateCSJGromore ());
}
// Save the updated manifest file.
manifest.Save (manifestPath);