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

Generate empty default.custom.yaml if it's missing in deploy #454

Closed
Bambooin opened this issue Jul 13, 2021 · 1 comment · Fixed by #502
Closed

Generate empty default.custom.yaml if it's missing in deploy #454

Bambooin opened this issue Jul 13, 2021 · 1 comment · Fixed by #502

Comments

@Bambooin
Copy link
Collaborator

"Put default.yaml and schema files into user directory!"

We should generate empty mock default.custom.yaml, if it's missing in rime.

To reference: #453 #349 #311 #299 #292 #278

@rainhear
Copy link

We should generate empty mock default.custom.yaml, if it's missing in rime.

  • 針對方案所需文件無誤無缺,卻始終出現 請在使用者資料夾中放入default.yaml、輸入法方案! 提示的情況,
  • 同文需實現偵測 default.custom.yaml 存在與否,若不存在則 自動生成
  • 這個對新手入門十分重要,畢竟不是每一個新人,一開始就能自行排查 default.custom.yaml 存在與否。

walk143 pushed a commit to walk143/trime that referenced this issue Aug 21, 2021
default.custom.yaml 缺失导致获取方案列表为空
walk143 pushed a commit to walk143/trime that referenced this issue Aug 21, 2021
remove wild import
@walk143 walk143 mentioned this issue Aug 21, 2021
4 tasks
Bambooin pushed a commit that referenced this issue Aug 23, 2021
default.custom.yaml 缺失导致获取方案列表为空
Bambooin pushed a commit that referenced this issue Aug 23, 2021
remove wild import
walk143 pushed a commit to walk143/trime that referenced this issue Aug 26, 2021
osfans#454 修改后,存在用户在修改方案过程中误删 default.custom.yaml 场景。方案列表检查为空时进行一次配置文件重置,避免default.custom导致的方案部署问题
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