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简单适配 #107

Closed
wants to merge 72 commits into from
Closed

自修改1.0-M4简单适配 #107

wants to merge 72 commits into from

Conversation

XZhouQD
Copy link

@XZhouQD XZhouQD commented Oct 11, 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/1.0

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

…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 27 commits August 23, 2020 12:59
NO WARRANTY
Sync update to 1.0 branch
@yyuueexxiinngg
Copy link
Owner

非常感谢您在此期间对此项目做出的贡献, 此项目搁置前已基本完成1.0版本mirai-console的适配工作, 可惜并未提交代码
搁置前代码

近期此项目重新进入活跃状态, 非常抱歉将关闭您的PR, 再次感谢您的热心帮助

@XZhouQD
Copy link
Author

XZhouQD commented Nov 12, 2020

非常感谢您在此期间对此项目做出的贡献, 此项目搁置前已基本完成1.0版本mirai-console的适配工作, 可惜并未提交代码
搁置前代码

近期此项目重新进入活跃状态, 非常抱歉将关闭您的PR, 再次感谢您的热心帮助

好!其实代码不代码的不重要,欢迎回来!

@XZhouQD XZhouQD closed this Nov 12, 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