Does anyone know how I can make my compose app han...
# compose-desktop
d
Does anyone know how I can make my compose app handle URIs? I want deeplinks to open my app and get the query parameters from it I want my browser to open my app for links like
my-app://...
2
👀 4
s
I don't know if there is any jvm api that register this for every single operational system, they have different implementation. For linux that I know how, you have to register the schema in the
.desktop
file of your application and would work. Here you can find a example for Slack flathub
.desktop
file: https://github.com/flathub/com.slack.Slack/blob/master/slack.desktop#L10
🤔 1
d
Maybe if we use this it will work(at least on linux):
--file-associations
(https://docs.oracle.com/en/java/javase/14/docs/specs/man/jpackage.html) Usage example: https://stackoverflow.com/a/60786170/5827505
Maybe someone from JB can clarify how we can add arguments to
jpackage
s
Wanna file a feature request for your platform? I was able to implement this on macOS using custom
Info.plist
entries https://github.com/JetBrains/compose-jb/issues/795
d
@saket can you show me how you configured
Info.plist
?
d
if we can do the same thing slack using
.desktop
, maybe we can have something similar to
infoPlist
for
linux
t
Does anyone have an idea how to get this working on Windows?