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

安裝完畢宜退出並重新登錄,以保證輸入法的安裝/更新生效 #281

Closed
lotem opened this issue Jan 5, 2019 · 5 comments

Comments

@lotem
Copy link
Member

lotem commented Jan 5, 2019

更新日誌 所言,需要重新登錄,輸入法更新纔會生效。

後續版本的安裝包將恢復這一要求:
c84001e :安裝完成後要求退出登錄

根據目前收到的反饋,安裝完畢後,可能出現以下情況:

macOS Mojave 管理輸入法的機制或有改變

(也許版本之間一直在變)
我在開發和調試的時候注意到在 Mojave 這版 macOS 上,更新輸入法並覆寫程序文件之後,系統仍會調用更新前版本的程序。
我推測,系統保持了可執行文件的引用並在輸入法進程結束後利用保存的環境繼續調用,這可能是某種「安全優化」。

這確實給調試帶來不少麻煩。
爲了測試本地構建的新版本,只好手動從控制檯啓動輸入法進程,這樣能執行到新版本的程序包括 librime.1.dylib

cd squirrel
make deps && make && make install
/Library/Input\ Methods/Squirrel.app/Contents/MacOS/Squirrel --quit; /Library/Input\ Methods/Squirrel.app/Contents/MacOS/Squirrel

從控制檯結束這個進程後,系統仍會自動喚起舊版本的輸入法…

@snovey

This comment has been minimized.

@lotem

This comment has been minimized.

@snovey

This comment has been minimized.

@lotem lotem pinned this issue Jan 11, 2019
@Cee
Copy link

Cee commented Jan 31, 2019

第二个问题可以通过重启电脑解决。

@LEOYoon-Tsaw
Copy link
Member

重啓之後如果輸入法沒有自動添加,請前往設定-鍵盤-文字輸入手動添加

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

No branches or pull requests

4 participants