![]() |
Bash script for launching and updating Ludii - Printable Version +- Ludii Forum (https://ludii.games/forums) +-- Forum: General (https://ludii.games/forums/forumdisplay.php?fid=1) +--- Forum: Discussion (https://ludii.games/forums/forumdisplay.php?fid=4) +--- Thread: Bash script for launching and updating Ludii (/showthread.php?tid=599) |
Bash script for launching and updating Ludii - fbarbe - 06-07-2021 Hi, I don't know if this is the right place to share this but I made a small bash script that automatically downloads the latest Ludii version, makes it executable and launches it. It requires curl (and java to run Ludii) and should work on Mac and Linux. The forum doesn't allow me to add it as an attachment, so here's the code: Code: #!/bin/sh This can be saved as a bash file (e.g. Ludii.sh) and ran through the terminal ( `sh Ludii.sh` ). Let me know if you have any comments. Best, Fabio RE: Bash script for launching and updating Ludii - slimy_asparagus - 06-11-2021 I find myself switching between versions quite a lot. I do use a bash script but it is much less ambitious. I just edit the version number as an when needed. Code: #!/bin/bash RE: Bash script for launching and updating Ludii - slimy_asparagus - 07-03-2021 (07-03-2021, 01:16 PM)Bugaevsky_Sergey Wrote: How can I play games on this site with other users? Not on this site as such. You download the JAva program and connect to users with that. I tried to explain in more detail here: https://boardgamegeek.com/thread/2658936/article/37801637#37801637 RE: Bash script for launching and updating Ludii - fbarbe - 08-18-2021 Here's an updated version of the script that also takes connectivity into account, and has a visual output with zenity. Code: #!/bin/sh To turn this script into an application that can be placed on the desktop and integrated in the system, you can create the following ludii.desktop file Code: [Desktop Entry] Change Ludii.sh to the absolute path of your Ludii script and ludii.png to the absolute path of the Ludii icon (which can be downloaded here) You can then make the desktop script executable either with chmod +x ludii.desktop or by right clicking and place it in your desktop and /usr/share/applications . Enjoy! RE: Bash script for launching and updating Ludii - Eric Piette - 01-02-2022 Hi, The script of Fabio is just in Shell. Ludii is in Java. Regards, Eric |