| | |
| | | }
|
| | |
|
| | | static string THE_2TH_WORLD_SDK_PATH = Application.dataPath + "/Plugins/Android/bin";
|
| | | // static string MANIFEST_PATH = Application.dataPath + "/Plugins/Android/AndroidManifest.xml";
|
| | | static string MANIFEST_PATH = Application.dataPath + "/Plugins/Android/AndroidManifest.xml";
|
| | | static string iOS_PLUGIN_PATH = Application.dataPath + "/Plugins/iOS/Channel";
|
| | |
|
| | |
|
| | |
| | |
|
| | | // var manifestpath = StringUtility.Contact(_sdkPath, "/Channel/Android/", versionConfig.appId, "/AndroidManifest.xml");
|
| | | var channelSdkPath = StringUtility.Contact(_sdkPath, "/Channel/Android/", versionConfig.appId, "/", variant);
|
| | | var manifeastPath = StringUtility.Contact(_sdkPath, "/Channel/Android/", versionConfig.appId, "/AndroidManifest.xml");
|
| | |
|
| | | // if (File.Exists(manifestpath))
|
| | | // {
|
| | |
| | | return;
|
| | | }
|
| | |
|
| | | if (File.Exists(manifeastPath))
|
| | | {
|
| | | if (File.Exists(MANIFEST_PATH))
|
| | | File.Delete(MANIFEST_PATH);
|
| | | File.Copy(manifeastPath, MANIFEST_PATH);
|
| | | DebugEx.LogFormat("Android 清单文件拷贝成功,{0}", manifeastPath);
|
| | | }
|
| | |
|
| | | var option = AssetDatabase.LoadAssetAtPath<Options>("Assets/Editor/Beebyte/Obfuscator/ObfuscatorOptions.asset");
|
| | | if (option != null)
|
| | | {
|