Skip to content

安裝時包括 *.db #87

@graphemecluster

Description

@graphemecluster

https://github.com/rime/librime-predict 採用 db 格式,但

install_files_from_package() {
local package_dir="$1"
local IFS=$'\r\n'
local data_files=(
$(
cd "${package_dir}"
ls *.yaml 2> /dev/null \
| grep -v -e '\.custom\.yaml$' -e '\.recipe\.yaml$' -e '^recipe\.yaml$'
ls *.txt 2> /dev/null
ls *.gram 2> /dev/null
ls opencc/*.* 2> /dev/null \
| grep -e '\.json$' -e '\.ocd$' -e '\.txt$'
)
)
install_files "${data_files[@]}"
}

plum/rime-install.bat

Lines 176 to 182 in 4c28f11

for %%f in (
*.yaml
*.txt
opencc\*.json
opencc\*.ocd
opencc\*.txt
) do (

皆會無視它們,以致用户不能透過 plum 安裝候選詞預測。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions