2.0-M2-dev-4

This commit is contained in:
Him188 2020-12-25 20:45:38 +08:00
parent a344a08db3
commit 113fc20cf9
5 changed files with 7 additions and 7 deletions

View File

@ -69,7 +69,7 @@ fun initTestEnvironment() {
}
override fun createLoginSolver(requesterBot: Long, configuration: BotConfiguration): LoginSolver =
LoginSolver.Default
LoginSolver.Default!!
override fun createLogger(identity: String?): MiraiLogger {
return PlatformLogger(identity)

View File

@ -12,8 +12,8 @@
import org.gradle.api.attributes.Attribute
object Versions {
const val core = "2.0-M1-1"
const val console = "2.0-M1-1"
const val core = "2.0-M2-dev-4"
const val console = "2.0-M2-dev-4"
const val consoleGraphical = "0.0.7"
const val consoleTerminal = console

View File

@ -78,7 +78,7 @@ class MiraiConsoleImplementationTerminal
override val isAnsiSupported: Boolean get() = true
override fun createLoginSolver(requesterBot: Long, configuration: BotConfiguration): LoginSolver {
return DefaultLoginSolver(input = { requestInput("LOGIN> ") })
return StandardCharImageLoginSolver(input = { requestInput("LOGIN> ") })
}
override fun createLogger(identity: String?): MiraiLogger = LoggerCreator(identity)

View File

@ -10,6 +10,6 @@
package net.mamoe.mirai.console.gradle
internal object VersionConstants {
const val CONSOLE_VERSION = "2.0-M1-1" // value is written here automatically during build
const val CORE_VERSION = "2.0-M1-1" // value is written here automatically during build
const val CONSOLE_VERSION = "2.0-M2-dev-4" // value is written here automatically during build
const val CORE_VERSION = "2.0-M2-dev-4" // value is written here automatically during build
}

View File

@ -52,7 +52,7 @@ tasks.withType<org.jetbrains.intellij.tasks.PatchPluginXmlTask> {
</ul>
""".trimIndent())
changeNotes("""
See https://github.com/mamoe/mirai-console/releases
See <a href="https://github.com/mamoe/mirai-console/releases">https://github.com/mamoe/mirai-console/releases</a>
""".trimIndent())
}