fix logfile
This commit is contained in:
@@ -130,7 +130,7 @@ class SettingsActivity : AppCompatActivity() {
|
||||
ToastUtils.showLong(listFiles[which].name)
|
||||
val currentLogFilePath = listFiles[which].absolutePath
|
||||
FileUtils.copy(currentLogFilePath, "$currentLogFilePath.snapshot")
|
||||
ShareUtil.share("*", File("$currentLogFilePath.snapshot"), auto = false)
|
||||
ShareUtil.share("*/*", File("$currentLogFilePath.snapshot"), auto = false)
|
||||
}
|
||||
.create(R.style.QMUI_Dialog)
|
||||
.show()
|
||||
|
||||
@@ -108,7 +108,7 @@ object FloatWindowHelper {
|
||||
newFile.writeBytes(printNodeClazzTree.toString().toByteArray())
|
||||
LogUtils.i("打印节点文件存储本地成功 $filePath", "当前页面: ${WeworkController.weworkService.currentClass}")
|
||||
}
|
||||
ShareUtil.share("*", newFile)
|
||||
ShareUtil.share("*/*", newFile)
|
||||
}
|
||||
} else {
|
||||
ToastUtils.showShort("请先打开WorkTool主功能~")
|
||||
|
||||
Reference in New Issue
Block a user