In split mode, I’d like to enable an action on the frontend, if the backend runs on macOS.
More generally, I’d also would like to do this for extensions.
I know about the <plugin id="com.intellij.modules.os.mac"/> dependency, but adding it in a frontend doesn’t seem right because it would be only enabled if the frontend is on macOS. Or does it refer to the OS of the backend?
IdeProductMode is only for the current host and not the remote host.
I guess I could add an RPC service to send me the OS of the backend, but I’d like to rely on the platform, if possible.
Thank you!