Commit c7584c2d authored by Him188moe's avatar Him188moe

Merge remote-tracking branch 'origin/master'

parents 52857fad ccd3d8fc
# Mirai
一个以<b>TIM QQ协议</b>驱动的JAVA <b>全开源</b> QQ机器人服务端核心<br>
一个以<b>TIM QQ协议</b>驱动的JAVA(+Kotlin) <b>全开源</b> QQ机器人服务端核心<br>
不受由于<b>SMARTQQ</b>关停的影响<br>
项目仍处于开发阶段<br>
项目处于快速开发阶段<br>
由于是学生, 无法每日更新<br>
一切开发旨在学习, 请勿用于非法用途<br>
<br>
a JAVA powered open-sources project under GPL license<br>
A JAVA(+Kotlin) powered open-sources project under GPL license<br>
It use protocols from <i>TIM QQ</i>, meaning it won't be affect by the close of <i>smart QQ</i><br>
The project is all for <b>learning proposes</b> and still in <b>developing stage</b><br>
......@@ -15,10 +16,8 @@ The project is all for <b>learning proposes</b> and still in <b>developing stage
## 使用方法
### 要求
``` php
Java 10 或以上
...
```
- Java 11 或更高
- Kotlin
### 插件开发
``` php
to be continue
......@@ -28,10 +27,8 @@ The project is all for <b>learning proposes</b> and still in <b>developing stage
## Usage
### Requirements
``` php
Java 10 or higher
...
```
- Java 11 or higher
- Kotlin
### Plugin Developments
``` php
to be continue
......
......@@ -33,6 +33,9 @@ public class MiraiConfig {
}
this.file = file;
try {
if(file.exists()){
file.createNewFile();
}
Config config = new Config();
config.setMultiSection(true);
ini = new Ini();
......@@ -78,6 +81,7 @@ public class MiraiConfig {
}
a.saveAsSection(ini.get(k));
});
this.clearCache();
try {
ini.store(file);
} catch (IOException e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment