2024-02-10, 06:32
(2023-12-24, 08:16)mr_weasel Wrote: I found that 3.7.8 fails to launch steam from kodi on linux. Did a bit of digging and found that the steam-launcher.sh script has windows line delimiters.
I verified this by checking https://github.com/teeedubb/teeedubb-xbm...-3.7.8.zip and found that within the zip file the "script.steam.launcher/resources/scripts/steam-launcher.sh" file has two-byte 0d0a line delimiter on the end of each line, including the shebang line. e.g. showing the first 32 bytes
Code:
hd script.steam.launcher/resources/scripts/steam-launcher.sh | head
00000000 23 21 2f 62 69 6e 2f 62 61 73 68 0d 0a 23 4b 6f |#!/bin/bash..#Ko|
00000010 64 69 20 53 74 65 61 6d 20 4c 61 75 6e 63 68 65 |di Steam Launche|
As a workaround, the following command can be used to fix the problem:
dos2unix ~/.kodi/userdata/addon_data/script.steam.launcher/scripts/steam-launcher.sh
Thanks, the windows line ending detection was broken and has been forcibly fixed in the latest version