xlua
This commit is contained in:
parent
67ce4b8a54
commit
3feebb0d9d
@ -10,10 +10,10 @@ using System.Collections.Generic;
|
|||||||
|
|
||||||
public class IronSourceAdQualityManifestTools
|
public class IronSourceAdQualityManifestTools
|
||||||
{
|
{
|
||||||
#if UNITY_EDITOR
|
|
||||||
static string outputFile = Path.Combine(Application.dataPath, "Plugins/Android/AndroidManifest.xml");
|
static string outputFile = Path.Combine(Application.dataPath, "Plugins/Android/AndroidManifest.xml");
|
||||||
public static void GenerateManifest()
|
public static void GenerateManifest()
|
||||||
{
|
{
|
||||||
|
#if UNITY_EDITOR
|
||||||
// only copy over a fresh copy of the AndroidManifest if one does not exist
|
// only copy over a fresh copy of the AndroidManifest if one does not exist
|
||||||
if (!File.Exists(outputFile))
|
if (!File.Exists(outputFile))
|
||||||
{
|
{
|
||||||
@ -27,6 +27,7 @@ static string outputFile = Path.Combine(Application.dataPath, "Plugins/Android/A
|
|||||||
File.Copy(inputFile, outputFile);
|
File.Copy(inputFile, outputFile);
|
||||||
}
|
}
|
||||||
UpdateManifest();
|
UpdateManifest();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
private static string _namespace = "";
|
private static string _namespace = "";
|
||||||
@ -204,5 +205,4 @@ static string outputFile = Path.Combine(Application.dataPath, "Plugins/Android/A
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user