45 lines
799 B
C#
45 lines
799 B
C#
|
|
namespace Guru.Editor
|
|
{
|
|
using UnityEditor;
|
|
using UnityEditor.Callbacks;
|
|
using UnityEngine;
|
|
using System.IO;
|
|
using NUnit.Framework;
|
|
|
|
public class PostBuild_DMA
|
|
{
|
|
|
|
|
|
[PostProcessBuild]
|
|
public static void OnPostProcessBuild(BuildTarget target, string buildPath)
|
|
{
|
|
if (target != BuildTarget.iOS) return;
|
|
|
|
}
|
|
|
|
#if UNITY_IOS
|
|
|
|
|
|
private static void SetInfoPlist(string buildPath)
|
|
{
|
|
var infoPlistPath = Path.Combine(buildPath, "Info.plist");
|
|
if (!File.Exists(infoPlistPath))
|
|
{
|
|
Debug.LogError("Info.plist not found");
|
|
return;
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
} |