插件市场 API 支持#411
Merged
Merged
Conversation
dmzz-yyhyy
requested changes
Apr 27, 2026
dmzz-yyhyy
left a comment
Owner
There was a problem hiding this comment.
使用翻译管理平台管理翻译之后必须在平台上提交除英文外的语言
因为语言同步原则上是单项的,除英文外是由平台同步到github,github上的其他语言是从平台同步过来的,如果直接在代码里改语言的话会被平台的提交覆盖掉的
| import java.util.concurrent.TimeUnit | ||
| import javax.inject.Inject | ||
|
|
||
| sealed interface StoreInstallState { |
| import javax.inject.Inject | ||
| import javax.inject.Singleton | ||
|
|
||
| data class PluginUpdateInfo( |
| val errorMessageMap: Map<String, String> = pluginManager.errorPluginMap | ||
| val scannedPluginApps: List<PluginAppInfo> = pluginManager.appPluginInfos | ||
|
|
||
| val pluginUpdates = pluginUpdateCheckRepository.updates |
Owner
There was a problem hiding this comment.
这里最好写成val pluginUpdates get() = pluginUpdateCheckRepository.updates
b79b78c to
fd48f6e
Compare
dmzz-yyhyy
approved these changes
Apr 29, 2026
# Conflicts: # app/src/main/kotlin/indi/dmzz_yyhyy/lightnovelreader/ui/home/settings/pluginmanager/PluginManagerScreen.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
这个 PR 新增了插件市场 API 的支持,支持从 URL scheme 进入软件并展示插件信息和下载。
修复了一处插件安装时可能导致占用大量空间的逻辑错误。