Linux URI handling


#1

I’m trying to get URI handling working in either the Linux Fantasy player or the Linux Online Player. Looking at the windows player, I see the URIProxy that is getting registered but I don’t see a similar URI executable with the Linux clients. Is this done a different way in Linux or is support for that not there yet?


#2

Also interested in this, any word? Thanks.


#3

Support is not there yet for Linux or macOS. The problem is mainly one of bundling a separate app to handle the syrinscape-*:// URLs and using an installer to register it with the OS. Not an insurmountable problem, but not yet at the top of our priority list.

Both macOS and Linux versions are delivered as an app that you copy to your Applications folder and run. Windows version is delivered as an installer that can do register the bundled URL handler. Linux support was also only just recently added.


#4

First let me thank you for releasing it as a tar.gz, as it makes it much easier to create install scripts/packages for. I’ve currently got it installing into /opt and create a .desktop file for it so it shows up in the applications menu and have used it (the online player) in my last 2 games.

For the URI handling app, can that be bundled with current application (prior to the installer/os registerer being available)? I’d imagine us Linux folks could find a way to make syrinscape-fantasy-uri-handler syringscape-fantasy://<PLAYLIST> work if it was available. (or maybe I misread what you said and that app also does not exist yet)

Lastly, (and this is a bit off topic for this post), but do you know if the online player will be publicly available (eg. not behind a login) once it leaves beta? It would make installation scripts/packages much easier for the user.


#5

@thomas1 The Linux apps are already available publicly (no login required):

I’ll look into bundling the URI handler, even if we don’t yet have an installer to register it with the OS automatically.


#6

That’s great, not sure how I missed that in the past. I’ve updated my AUR build scripts for the online player (already had the others). Thanks.


#7

Are these build scripts something you can share, that would be useful for us to include? Or is there a better way we can package and distribute the Linux builds?


#8

They are PKGBUILD scripts that are uploaded to the AUR (Arch User Repository) which is a community repository for installing software. With what I’ve uploaded, users can quickly install the syrinscape players using makepkg, or if using an AUR helper such as “yay”, can just run “yay syrinscape-online-player” to do the install. The scripts will download the application from syrinscape servers and install it. I’ve included the links below if you want to take a look, you’ll need to use git to pull the scripts down.

https://aur.archlinux.org/packages/syrinscape-online-player/
https://aur.archlinux.org/packages/syrinscape-boardgame-player/
https://aur.archlinux.org/packages/syrinscape-scifi-player/
https://aur.archlinux.org/packages/syrinscape-fantasy-player/

I’m not sure they would be useful to include. These would only be useful to arch users (or arch derivatives), and IMO it’s better to have these in the AUR so people using things like yay can just update syrinscape with the rest of their system. (I forget if syrinscape updates itself).

The most helpful thing to include might be the .desktop file from each, as that is what adds it to the applications menu. But that is expecting syrinscape to be installed to /opt so you’d need some form of install script for that.