You've already forked Commercialization.topon
update 1.1.25
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user