This ensures that, after the Installer has killed the current input method process, the Installer can tell if the translocated input method bundle is no longer mounted. It turns out that getfsstat() may return cached results and a call to statfs() is necessary. This fixes the bug that the Installer did not always correctly report that a new version of the input method has been installed over a previous version. The bug only manifests when getfsstat() returns cached results. That seems to be the case on newer versions of macOS. |
||
|---|---|---|
| .. | ||
| Base.lproj | ||
| NotarizedArchives | ||
| en.lproj | ||
| zh-Hant.lproj | ||
| AppDelegate.h | ||
| AppDelegate.m | ||
| ArchiveUtil.h | ||
| ArchiveUtil.m | ||
| Installer-Info.plist | ||
| Installer-Prefix.pch | ||
| main.m | ||