Modify add English document links in code note

This commit is contained in:
2022-09-23 13:39:25 +08:00
parent 020c387bda
commit 3e362063f1
13 changed files with 62 additions and 8 deletions

View File

@@ -82,7 +82,9 @@ class YukiHookXposedProcessor : SymbolProcessorProvider {
* @param msg 错误消息
*/
private fun SymbolProcessorEnvironment.problem(msg: String) {
val helpMsg = "Looking for help? see https://fankes.github.io/YukiHookAPI/en/config/xposed-using"
val helpMsg = "Looking for help? Please see the documentation link below\n" +
"- English: https://fankes.github.io/YukiHookAPI/en/config/xposed-using\n" +
"- Chinese(Simplified): https://fankes.github.io/YukiHookAPI/zh-cn/config/xposed-using"
logger.error(message = "[$TAG] $msg\n$helpMsg")
throw RuntimeException("[$TAG] $msg\n$helpMsg")
}