添加一些出包的log
parent
639aa6c32b
commit
97ab62f554
|
@ -50,6 +50,7 @@ public class AutoPack : EditorWindow
|
||||||
Debug.Log("开始导出工程");
|
Debug.Log("开始导出工程");
|
||||||
string targetPath = Application.dataPath + "/Resources/version.txt";
|
string targetPath = Application.dataPath + "/Resources/version.txt";
|
||||||
string copyPath = curProjectDir + "/AssetBundles/" + versionArr[verIndex];
|
string copyPath = curProjectDir + "/AssetBundles/" + versionArr[verIndex];
|
||||||
|
Debug.Log("version文件路径:" + copyPath);
|
||||||
if (File.Exists(targetPath))
|
if (File.Exists(targetPath))
|
||||||
{
|
{
|
||||||
File.Delete(targetPath);
|
File.Delete(targetPath);
|
||||||
|
@ -106,6 +107,7 @@ public class AutoPack : EditorWindow
|
||||||
buildPlayerOptions.target = BuildTarget.Android;
|
buildPlayerOptions.target = BuildTarget.Android;
|
||||||
// 调用开始打包
|
// 调用开始打包
|
||||||
BuildPipeline.BuildPlayer(buildPlayerOptions);
|
BuildPipeline.BuildPlayer(buildPlayerOptions);
|
||||||
|
Debug.Log("android工程导出路径"+ outPath + "/ex_android_jl");
|
||||||
Debug.Log("导出完成");
|
Debug.Log("导出完成");
|
||||||
///打开python工具所在路径
|
///打开python工具所在路径
|
||||||
GameEditor.Core.DataConfig.ConfigExportWindow.OpenDirectory("C:/Users/aaa/Desktop/pythonPack");
|
GameEditor.Core.DataConfig.ConfigExportWindow.OpenDirectory("C:/Users/aaa/Desktop/pythonPack");
|
||||||
|
|
Loading…
Reference in New Issue