Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自修改适配1.0-M4的版本 #100

Closed
wants to merge 74 commits into from
Closed

Conversation

XZhouQD
Copy link

@XZhouQD XZhouQD commented Sep 17, 2020

自行略微修改了插件,重整了config部分使其遵守Console 1.0-M4的API,修改了启动类变成mirai-console 1.0-M4的形状,能在Console 1.0-M4启动了。

配置文件位置有变化,由于本人技术水平(不懂kotlin)导致配置文件功能减少(多账号、分身版均没实现),因此配置文件完全不兼容了,需要重新配置。但好处是现在带完整格式的配置文件会自动创建了。

适合自行启动最新版Mirai/使用MiraiOK的用户临时使用。

如果有所帮助的话就好了。

顺便track了gradle wrapper所在的目录,删除了一个我自行编译无法通过的gradle task,大概以后自行配置环境贡献代码会方便一点(因为这两个问题我花了数个小时)

master和1.0差蛮多commit,我实际上只有6条commit的,剩下的都是master里的新commit合并进1.0。

README是我的repo的,作者大大合并的话记得再次修改readme。

Fix #99 #93

完整代码参见:XZhouQD/cqhttp-mirai

版本号我自作主张填了0.2.4-SNAPSHOT-1.0-M4-dev。

@yyuueexxiinngg

…exxiinngg#22

2. Reduce source message and add request cache size to reduce memory usage.
2.Change image folder name from "images" to "image"/
2. Add UA to image downloader. Close yyuueexxiinngg#32
3. Support getting media from image folder.
4. Trim CQ params key to allow space in CQ code.
# Conflicts:
#	build.gradle.kts
#	src/main/kotlin/tech/mihoyo/mirai/MiraiApi.kt
#	src/main/kotlin/tech/mihoyo/mirai/PluginBase.kt
#	src/main/kotlin/tech/mihoyo/mirai/util/CQMessgeParser.kt
#	src/main/kotlin/tech/mihoyo/mirai/web/Session.kt
#	src/main/kotlin/tech/mihoyo/mirai/web/http/HttpApiModule.kt
#	src/main/kotlin/tech/mihoyo/mirai/web/http/HttpApiServer.kt
#	src/main/kotlin/tech/mihoyo/mirai/web/http/ReportService.kt
#	src/main/kotlin/tech/mihoyo/mirai/web/websocket/WebsocketActions.kt
#	src/main/kotlin/tech/mihoyo/mirai/web/websocket/WebsocketServer.kt
yyuueexxiinngg and others added 26 commits August 23, 2020 17:38
NO WARRANTY
Sync update to 1.0 branch
Pure 1.0-M4, New Config API
@XZhouQD XZhouQD changed the title 自修改适配1.0-M4的融合版本(0.5.2 Config+1.0-M4 启动) 自修改适配1.0-M4的版本 Sep 17, 2020
@XZhouQD
Copy link
Author

XZhouQD commented Oct 11, 2020

由于我自己的master branch要做更多操作,此PR关闭,换个branch发起……

@XZhouQD XZhouQD closed this Oct 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants