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