【打包工具】添加更新蓝鲸sdk的功能
parent
804aa9963f
commit
e76b07646d
|
@ -157,6 +157,11 @@ public class AutoPack : EditorWindow
|
||||||
string tpath = _MomPackPath + PackConfig[i][2] + "/build.gradle";
|
string tpath = _MomPackPath + PackConfig[i][2] + "/build.gradle";
|
||||||
GameEditor.Util.ProcessUtil.OpenText(tpath);
|
GameEditor.Util.ProcessUtil.OpenText(tpath);
|
||||||
}
|
}
|
||||||
|
if (GUILayout.Button("更新蓝鲸SDK", GUILayout.Height(20f)))
|
||||||
|
{
|
||||||
|
File.Copy(_MomPackPath + "BlueWhaleJar/app/build/outputs/aar/app-release.aar", _MomPackPath + PackConfig[i][2] + "/libs/BlueWhale.aar", true);
|
||||||
|
Debug.Log("更新完成");
|
||||||
|
}
|
||||||
EditorGUILayout.EndHorizontal();
|
EditorGUILayout.EndHorizontal();
|
||||||
EditorGUILayout.EndVertical();
|
EditorGUILayout.EndVertical();
|
||||||
EditorGUILayout.Space();
|
EditorGUILayout.Space();
|
||||||
|
|
Loading…
Reference in New Issue