FWIW I was able to create a deeplink on macOS by manually modifying my packaged app’s
Info.plist
and adding these entries:
Copy code
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>PACKAGE NAME OF YOUR APP</string>
<key>CFBundleURLSchemes</key>
<array>
<string>SCHEME OF YOUR DEEPLINK</string>
</array>
</dict>
</array>
This deeplink can be handled by using
Desktop.getDesktop().setOpenURIHandler()
.
Of course modifying the file manually after each build is terrible so we’d need a way for compose to provide a hook for modifying