|
楼主 |
发表于 2014-10-19 08:21:15
|
显示全部楼层
本帖最后由 qunwang6 于 2014-10-19 08:28 编辑 + g0 c7 x9 V" w, l
) I: G8 \+ d+ T' ^6 b
& I; X) H, \- r# I3 L1 z+ z% B
python /Applications/Utilities/DictionaryDevelopmentKit/pyglossary/pyglossary.pyw --read-options=resPath=OtherResources --write-format=AppleDict' o0 G, r5 S+ B% l7 y9 X
红色部分:pyglossary.pyw 的路径
9 l: X; ], Q ^% l dpyglossary 跟DictionaryDevelopmentKit没关系,不需要调用,pyglossary只负责转换部分。( {$ u, v7 l- Z, O: f2 ?
DictionaryDevelopmentKit用来编译,在makefile文件里要设置好DictionaryDevelopmentKit路径:DICT_BUILD_TOOL_DIR = "/Applications/Utilities/DictionaryDevelopmentKit/" |
|