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

支持alternative_select_labelspage_size #12

Closed
bczhc opened this issue Jun 1, 2023 · 3 comments · Fixed by #13
Closed

支持alternative_select_labelspage_size #12

bczhc opened this issue Jun 1, 2023 · 3 comments · Fixed by #13

Comments

@bczhc
Copy link
Contributor

bczhc commented Jun 1, 2023

现在写在*.custom.yaml里面的好像不会生效。

https://github.com/bczhc/rime-config/blob/9fcdb365888ea475f48486e44f04dcb58b1ede81/092wubi.custom.yaml#L1-L6

@eagleoflqj
Copy link
Member

你是不是把*.custom.yaml放https://github.com/LibreService/my_rime/tree/master/rime-config 了?这个目录下的文件(目前)不参与部署,只是简单copy到wasm的/rime下,运行时可访问。
我会加一条构建规则,把rime-config下的*.custom.yaml在本地部署前copy到build/librime_native/bin,也许就行了?你也可以自己放进去试试。

@bczhc
Copy link
Contributor Author

bczhc commented Jun 1, 2023

没有啊,rime-config目录不是专放lua的吗,我就是用的旧方法改schemas.json然后运行那些pnpm。.custom.yaml和方案.dict .schema什么的文件都是放一起的。

@eagleoflqj
Copy link
Member

明白了,这个是plum的问题,它故意不安装*.custom.yaml https://github.com/rime/plum/blob/6f502ff6fa87789847fa18200415318e705bffa4/scripts/install-packages.sh#L74
所以你得自己把它们复制到build/librime_native/bin再pnpm run schema了,我试了一下是可行的
Screenshot from 2023-06-01 18-47-32

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 a pull request may close this issue.

2 participants