Closed TheBigBear closed 4 years ago
If you are on Catalina you can use the .dylib
that's part of the release tag https://github.com/jborean93/omi/releases. You simply copy the dylib to the PowerShell install dir which IIRC is /usr/local/microsoft/powershell/7/libmi.dylib
on macOS. I'm unsure if you can use the same binary on older versions of macOS due to ABI changes. In those cases I recommend you use ./build.py macOS
to build your own version.
As for brew, I'm unsure what the process would be. I'm sure it would have to be a change in the powershell formula but even then I would be reluctant to include this without making sure it won't affect older versions.
Closing as I believe that answers your question.
SUMMARY
What are the exact manual steps required to get latest powershell-core to work using the re-compiled dylib from this project? What effort would be involved in packing this up for brew distribution?
LIBMI VERSION
OS / ENVIRONMENT
Mac OS Catalina fully patched