Closed ksqsf closed 3 months ago
本地编译没带插件怎么办呢。
要想兼容构建不同插件的情况,得借鉴自带yaml文件的做法,用脚本往Xcode配置里添加文件。
make release
应该会自动拷贝插件吧。copy-rime-binaries
把 rime-plugins 从 librime/dist/lib 拷贝到 ./lib,然后 xcodebuild 再拷贝到 build/Release/Squirrel.app
。
尴尬,不懂 Xcode……用脚本添加的话我再看看怎么搞。
看了下,SharedSupport 的文件也是硬编码的……
https://github.com/rime/squirrel/blob/master/Squirrel.xcodeproj/project.pbxproj#L145
哦。看来数据文件改成硬编码了。以前是用一个shell脚本给plum下载的每个文件生成一项Xcode配置,UUID自己算,递增。可能有人觉得这样不太可靠。
要不然给本地构建也加上那几个插件?
行。就这样吧。以后给Makefile改改。
Previously,
action-install.sh
was not updated accordingly, and the build artifact is completely unusable: it will always crash.Also add a xcode build phase to copy official plugins. The build artifact should be fully functional now.