Make tips clear

This commit is contained in:
Him188 2019-12-08 21:05:42 +08:00
parent 39204730eb
commit 9469afa680

View File

@ -32,7 +32,7 @@ actual var DefaultCaptchaSolver: CaptchaSolver = {
MiraiLogger.info("需要验证码登录, 验证码为 4 字母")
try {
tempFile.writeChannel().use { writeFully(it) }
MiraiLogger.info("若看不清字符图片, 请查看 ${tempFile.absolutePath}")
MiraiLogger.info("将会显示字符图片. 若看不清字符图片, 请查看文件 ${tempFile.absolutePath}")
} catch (e: Exception) {
MiraiLogger.info("无法写出验证码文件(${e.message}), 请尝试查看以上字符图片")
}
@ -46,7 +46,7 @@ actual var DefaultCaptchaSolver: CaptchaSolver = {
}
}
}
MiraiLogger.info("若要更换验证码, 请直接回车")
MiraiLogger.info("请输入 4 位字母验证码. 若要更换验证码, 请直接回车")
readLine()?.takeUnless { it.isEmpty() || it.length != 4 }
}
}