MeshCentralRouter
MeshCentralRouter copied to clipboard
Launching via mcrouter:// not working on macOS
Environment
macOS 11.1 MeshCentral 0.7.76 MeshCentral Router 0.0.4
Details
Cannot launch MeshRouter from MeshCentral within the browser using the mcrouter:// protocol in macOS.
I took a quick peek into MeshRouter's Info.plist and noticed that the CFBundleURLName
and CFBundleURLSchemes
parameters required to register a protocol for an app is not present.
Adding the following to Info.plist enabled the correct behavior for me.
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>CFBundleURLName</key>
<string>com.meshcentral.router</string>
<key>CFBundleURLSchemes</key>
<array>
<string>mcrouter</string>
</array>
</dict>
</array>