| | |
| | | try |
| | | { |
| | | Debug.LogFormat("从命令行中解析出来的SDKPATH 是:{0}", parameters.sdkPath); |
| | | ClientPackage.BuildPublishers(parameters.sdkPath, parameters.assetbundlePath, parameters.outputPath, parameters.publishers, false, false); |
| | | ClientPackage.BuildPublishers(parameters.sdkPath, parameters.assetbundlePath, parameters.outputPath, parameters.publishers, parameters.buildIndex, false, false); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | |
| | | public string assetbundlePath; |
| | | public string outputPath; |
| | | public string publishers; |
| | | public int buildIndex; |
| | | public string sdkPath; |
| | | |
| | | public BuildParameters() |
| | |
| | | { |
| | | publishers = args[i + 1]; |
| | | } |
| | | else if (arg.ToLower() == "-buildindex") |
| | | { |
| | | int.TryParse(args[i + 1], out buildIndex); |
| | | } |
| | | else if (arg.ToLower() == "-sdkpath") |
| | | { |
| | | sdkPath = args[i + 1]; |