feat(mac): use hdiutil to determine mounted dmg and install keyman + keyboard together
- Dominant language
- Pascal
- Stars
- 534
- Forks
- 143
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 114
Description
**Is your feature request related to a problem? Please describe.**
On Windows, we name keyman-setup.exe according to a standard pattern in order to allow for install of keyman + keyboard together. On macOS, we provide a .dmg. We could do a similar thing for macOS, renaming the .dmg to use the same naming convention. Once named, we can find the running directory of the script, which will be in `/Volumes/xxxx` and use `hdiutil info -plist` to map that to a specific .dmg in order to get the keyboard package to install.
This may be reasonably easy to accomplish via a script. We would need to link this into the Keyman package install process, however.
---
**Keyman for Windows/macOS/Linux:**
- OS: macOS
- Keyman version: 15
Contributor guide
Research direction
Start by locating the macOS Keyman package install process and the script that handles the mounted /Volumes/xxxx directory. Run hdiutil info -plist to determine how the mounted volume maps to the renamed .dmg, then trace where keyboard installation can be linked. Done means a macOS .dmg can install Keyman and its keyboard together.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100