| | |
| | | public static void BuildApk(string _sdkPath, string _output, string _publisher, int _buildIndex, bool _development)
|
| | | {
|
| | | PreBuild(_publisher, _buildIndex);
|
| | |
|
| | | var auditTimeFile = StringUtility.Contact(Application.dataPath, Path.DirectorySeparatorChar, "Resources/Config/AuditTime.txt");
|
| | | if (File.Exists(auditTimeFile))
|
| | | {
|
| | |
| | |
|
| | | if (VersionConfig.Get().appId.Equals("test"))
|
| | | {
|
| | | FileUtil.MoveFileOrDirectory(Application.dataPath + "/Editor/PocoSDK",
|
| | | Application.dataPath + "/Scripts/PocoSDK");
|
| | | if (Directory.Exists(Application.dataPath + "/Editor/PocoSDK")
|
| | | && !Directory.Exists(Application.dataPath + "/Scripts/PocoSDK"))
|
| | | {
|
| | | FileUtil.MoveFileOrDirectory(Application.dataPath + "/Editor/PocoSDK",
|
| | | Application.dataPath + "/Scripts/PocoSDK");
|
| | | }
|
| | |
|
| | | var _launchScript = File.ReadAllText(Application.dataPath + "/Scripts/Core/GameEngine/Login/Launch.cs");
|
| | | if (_launchScript != null)
|