tinker icon indicating copy to clipboard operation
tinker copied to clipboard

[tinker] Fix log output error

Open lzb6666 opened this issue 3 years ago • 1 comments

当前日志显示输出的unsigned.apk、signed.apk、signed_7zip.apk位于build/tmp文件夹下(PatchBuilder#buildPatch),然而实际上在TinkerPatchSchemaTask#tinkerPatch的最后,将所有apk遍历放入了build/output文件夹,我花了一些时间才找到它们。

我注意到是在一个单独的提交中将apk移动了位置,同时为了兼容Command模式,因此增加了outputDir参数标记apk输出位置,原outputDir重命名为tmpDir标记中间产物的位置。

The current log displays the output of unsigned.apk, signed.apk and signed_ 7zip.apk is located in the build/tmp folder. However, they are actually in the build/output folder. It took me some time to find them.

I noticed that APK was moved in a separate commit, and in order to be compatible with Command mode. Therefore, the parameter outputDir is added to mark the output position of APK, and the original outputdir is renamed to tmpDir to mark the position of intermediate product.

lzb6666 avatar May 27 '21 11:05 lzb6666

CLA assistant check
All committers have signed the CLA.

tencent-adm avatar May 27 '21 11:05 tencent-adm