-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding a non-Steam game from a .desktop file ignores arguments in double quotes #8164
Comments
|
See also #5220, #4666, #3855, #711. Since Steam already uses GLib, probably the easiest way to parse |
|
If I try escaping characters in a file, i.e. If I add Again like the original issue, simple double-quotes around the file name makes Steam ignore the arguments altogether. The motivation behind this issue is yuzu-emu/yuzu/pull/6769 |
This suggests that Steam might be using the wrong syntax to parse the If/when someone with access to the proprietary parts of Steam looks into this, using |
|
Looking at the related issues mentioned in the first comment, I'm not sure that they are all fixed as their status suggests. I'm testing this with the 15 Aug 2022 build of Steam. Here's one simple .desktop file: This results in a new entry in the games library with Target: (note the that there is four double quotes in the first case and three in the second one) Now, if the shell script contains a space then we would have this the This results in: Target: (again, look at the number of double quotes). The launch options are empty in both cases. |
|
https://steamcommunity.com/groups/SteamClientBeta/announcements says the new Steam beta on 2023-02-22 had "Fixes for quotes surrounding shortcut exe and paths", which might help this? |
|
I just checked with the Feb 24 2023 build, and this is only partially solved. This results in This works, but note the missing double quote at the end (although it doesn't seem to have an effect in practice, i.e. the pwd of the actual process seems correct). This results in This does not work. |
|
The |
|
See #9237 |
|
We have a few more things to check and fix. |
|
fixed in next beta. we ran into a GIO bug (among other things): https://gitlab.gnome.org/GNOME/glib/-/issues/2930 |
|
With the 2 Mar 2023 build: The result is: It seems to work perfectly fine now, thanks! |
Your system information
Please describe your issue in as much detail as possible:
Adding a Non-Steam Game from a .desktop file ignores arguments in double quotes. The
TARGETandSTART INfields are populated seemingly properly.LAUNCH OPTIONSis blank.Steps for reproducing this issue:
Execline reading something likeExec=/path/to/program "/path/to/file"LAUNCH OPTIONSfield remains blank in Properties.The text was updated successfully, but these errors were encountered: