mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
2.0-M2-dev-4
This commit is contained in:
parent
a344a08db3
commit
113fc20cf9
@ -69,7 +69,7 @@ fun initTestEnvironment() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun createLoginSolver(requesterBot: Long, configuration: BotConfiguration): LoginSolver =
|
override fun createLoginSolver(requesterBot: Long, configuration: BotConfiguration): LoginSolver =
|
||||||
LoginSolver.Default
|
LoginSolver.Default!!
|
||||||
|
|
||||||
override fun createLogger(identity: String?): MiraiLogger {
|
override fun createLogger(identity: String?): MiraiLogger {
|
||||||
return PlatformLogger(identity)
|
return PlatformLogger(identity)
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
import org.gradle.api.attributes.Attribute
|
import org.gradle.api.attributes.Attribute
|
||||||
|
|
||||||
object Versions {
|
object Versions {
|
||||||
const val core = "2.0-M1-1"
|
const val core = "2.0-M2-dev-4"
|
||||||
const val console = "2.0-M1-1"
|
const val console = "2.0-M2-dev-4"
|
||||||
const val consoleGraphical = "0.0.7"
|
const val consoleGraphical = "0.0.7"
|
||||||
const val consoleTerminal = console
|
const val consoleTerminal = console
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ class MiraiConsoleImplementationTerminal
|
|||||||
override val isAnsiSupported: Boolean get() = true
|
override val isAnsiSupported: Boolean get() = true
|
||||||
|
|
||||||
override fun createLoginSolver(requesterBot: Long, configuration: BotConfiguration): LoginSolver {
|
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)
|
override fun createLogger(identity: String?): MiraiLogger = LoggerCreator(identity)
|
||||||
|
@ -10,6 +10,6 @@
|
|||||||
package net.mamoe.mirai.console.gradle
|
package net.mamoe.mirai.console.gradle
|
||||||
|
|
||||||
internal object VersionConstants {
|
internal object VersionConstants {
|
||||||
const val CONSOLE_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-M1-1" // value is written here automatically during build
|
const val CORE_VERSION = "2.0-M2-dev-4" // value is written here automatically during build
|
||||||
}
|
}
|
@ -52,7 +52,7 @@ tasks.withType<org.jetbrains.intellij.tasks.PatchPluginXmlTask> {
|
|||||||
</ul>
|
</ul>
|
||||||
""".trimIndent())
|
""".trimIndent())
|
||||||
changeNotes("""
|
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())
|
""".trimIndent())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user