Skip to content

Commit 1c33693

Browse files
committed
native: release 2.0.0
1 parent 04d482d commit 1c33693

21 files changed

+26
-24
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ Mirai Native 插件管理器
4545

4646
## 开源许可证
4747

48-
Copyright (C) 2020-2021 iTX Technologies
48+
iTXTech Mirai Native
49+
Copyright (C) 2020-2022 iTX Technologies
4950

5051
This program is free software: you can redistribute it and/or modify
5152
it under the terms of the GNU Affero General Public License as

build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88
}
99

1010
group = "org.itxtech"
11-
version = "2.0.0-beta.1"
11+
version = "2.0.0"
1212
description = "强大的 mirai 原生插件加载器。"
1313

1414
kotlin {

src/main/kotlin/org/itxtech/mirainative/Bridge.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as

src/main/kotlin/org/itxtech/mirainative/MiraiNative.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as

src/main/kotlin/org/itxtech/mirainative/bridge/ForwardMessageDecoder.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as

src/main/kotlin/org/itxtech/mirainative/bridge/MiraiBridge.kt

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as
@@ -50,7 +50,6 @@ import org.itxtech.mirainative.Bridge
5050
import org.itxtech.mirainative.MiraiNative
5151
import org.itxtech.mirainative.fromNative
5252
import org.itxtech.mirainative.manager.CacheManager
53-
import org.itxtech.mirainative.manager.EventManager
5453
import org.itxtech.mirainative.manager.PluginManager
5554
import org.itxtech.mirainative.message.ChainCodeConverter
5655
import org.itxtech.mirainative.plugin.FloatingWindowEntry

src/main/kotlin/org/itxtech/mirainative/bridge/MiraiImpl.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as

src/main/kotlin/org/itxtech/mirainative/bridge/NativeBridge.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as

src/main/kotlin/org/itxtech/mirainative/manager/CacheManager.kt

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as
@@ -33,8 +33,11 @@ import net.mamoe.mirai.contact.User
3333
import net.mamoe.mirai.event.events.BotEvent
3434
import net.mamoe.mirai.event.events.GroupMessageEvent
3535
import net.mamoe.mirai.event.events.GroupTempMessageEvent
36-
import net.mamoe.mirai.message.data.*
36+
import net.mamoe.mirai.message.data.MessageChain
37+
import net.mamoe.mirai.message.data.MessageSource
3738
import net.mamoe.mirai.message.data.MessageSource.Key.recall
39+
import net.mamoe.mirai.message.data.OnlineAudio
40+
import net.mamoe.mirai.message.data.source
3841
import net.mamoe.mirai.utils.MiraiExperimentalApi
3942
import org.itxtech.mirainative.MiraiNative
4043

src/main/kotlin/org/itxtech/mirainative/manager/EventManager.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as

src/main/kotlin/org/itxtech/mirainative/manager/LibraryManager.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as

src/main/kotlin/org/itxtech/mirainative/manager/PluginManager.kt

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as
@@ -27,7 +27,6 @@ package org.itxtech.mirainative.manager
2727
import kotlinx.atomicfu.atomic
2828
import kotlinx.coroutines.Job
2929
import kotlinx.coroutines.launch
30-
import kotlinx.serialization.json.Json
3130
import net.mamoe.mirai.console.command.CommandManager.INSTANCE.register
3231
import net.mamoe.mirai.console.command.CommandSender
3332
import net.mamoe.mirai.console.command.CompositeCommand

src/main/kotlin/org/itxtech/mirainative/message/ChainCodeConverter.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as

src/main/kotlin/org/itxtech/mirainative/message/RichMessageHelper.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as

src/main/kotlin/org/itxtech/mirainative/plugin/NativePlugin.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as

src/main/kotlin/org/itxtech/mirainative/plugin/PluginInfo.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as

src/main/kotlin/org/itxtech/mirainative/ui/FloatingWindow.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as

src/main/kotlin/org/itxtech/mirainative/ui/Tray.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as

src/main/kotlin/org/itxtech/mirainative/util/Configuration.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as

src/main/kotlin/org/itxtech/mirainative/util/Music.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as

src/main/kotlin/org/itxtech/mirainative/util/NpmHelper.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Mirai Native
44
*
5-
* Copyright (C) 2020-2021 iTX Technologies
5+
* Copyright (C) 2020-2022 iTX Technologies
66
*
77
* This program is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Affero General Public License as

0 commit comments

Comments
 (0)