mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-23 14:20:24 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
b46334f841
@ -25,7 +25,9 @@ Mirai 是一个在全平台下运行,提供 QQ Android 和 TIM PC 协议支持
|
||||
[mirai-console插件开发快速上手](PluginDocs/ToStart.MD)
|
||||
|
||||
### 使用
|
||||
#### [下载(download)](https://github.com/mamoe/mirai-console/releases)
|
||||
**[下载(download)](https://github.com/mamoe/mirai-console/releases)**
|
||||
请下载最新的 `mirai-console-wrapper-x.x.x-all.jar`
|
||||
|
||||
#### 如何启动
|
||||
如果是打包好的软件, 双击<br>
|
||||
如果是命令行运行, 请注意运行目录, 推荐cd到jar的文件夹下运行, 运行目录与Console的全部配置文件储存位置有关
|
||||
|
@ -2,7 +2,7 @@
|
||||
kotlin.code.style=official
|
||||
# config
|
||||
miraiVersion=0.29.1
|
||||
miraiConsoleVersion=0.3.5
|
||||
miraiConsoleVersion=0.3.6
|
||||
miraiConsoleWrapperVersion=0.1.3
|
||||
kotlin.incremental.multiplatform=true
|
||||
kotlin.parallel.tasks.in.project=true
|
||||
|
@ -47,7 +47,7 @@ internal suspend inline fun HttpClient.downloadRequest(url: String): ByteReadCha
|
||||
}
|
||||
}
|
||||
|
||||
private val jcenterPath = "https://jcenter.bintray.com/{group}/{project}/{version}/:{project}-{version}.{extension}"
|
||||
private val jcenterPath = "https://jcenter.bintray.com/{group}/{project}/{version}/{project}-{version}.{extension}"
|
||||
private val aliyunPath =
|
||||
"https://maven.aliyun.com/nexus/content/repositories/jcenter/{group}/{project}/{version}/{project}-{version}.{extension}"
|
||||
|
||||
|
@ -65,6 +65,7 @@ internal inline fun registerConsoleCommands(builder: CommandBuilder.() -> Unit):
|
||||
return CommandBuilder().apply(builder).register(ConsoleCommandOwner)
|
||||
}
|
||||
|
||||
|
||||
inline fun PluginBase.registerCommand(builder: CommandBuilder.() -> Unit):Command{
|
||||
return CommandBuilder().apply(builder).register(this.asCommandOwner())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user