树外插件? #798
Closed
imnotlxy
started this conversation in
General | 讨论
树外插件?
#798
Replies: 1 comment 3 replies
-
|
如果只是需要分发方案文件,不涉及对 engine 的更改,可以使用 https://github.com/fcitx5-android/plugin-scaffold 生成插件模板,然后使用 gradle 构建为 apk ,现在我们 F-Droid repo https://f5a.torus.icu/fdroid/repo/ 中的词库插件就是这么构建的。 但如果你希望替换 rime 插件中的内置方案,那必须在主仓库中构建插件,因为构建 librime.so 时需要与 fcitx5 的 library 动态链接。也可以尝试解包 apk 替换资源文件方式,但需要注意更新 assets/descriptor.json 中对应的文件名和 sha256 校验值。 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
RIME 插件只预置了少量的方案。如果想分发自己的 RIME 方案文件,能否以独立的插件形式发布?插件是否一定要作为存储库的子树一并参与构建?
Beta Was this translation helpful? Give feedback.
All reactions