Skip to content
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

It seems that the spaces in the command line options are not being handled properly. #126

Open
jiggol opened this issue Jul 14, 2024 · 0 comments

Comments

@jiggol
Copy link

jiggol commented Jul 14, 2024

Hello
Thank you for developing such a great program.

First, let me show you the logs.

time="2024-07-14T22:49:11+09:00" level=info msg="command: \"/usr/bin/env\"; args: [\"-S\" \"flatpak run --command=bottles-cli com.usebottles.bottles run -p Synology Surveillance Station Client -b Synology Surveillance --\"]\n"
time="2024-07-14T22:49:11+09:00" level=debug msg="UI hidden and restored in the backgroud in 21 ms"

This is a part of the .desktop file's contents.

[Desktop Entry]
Name=Synology Surveillance Station Client
Exec=flatpak run --command=bottles-cli com.usebottles.bottles run -p 'Synology Surveillance Station Client' -b 'Synology Surveillance' -- %u
Type=Application
Terminal=false
Categories=Application;

I believe the problem lies in the Exec part of the command options within the .desktop file. The argument contains spaces, so it is enclosed in single quotes. However, when executed by nwg, the logs show that the single quotes are missing. This might be the reason why it is not running. When I try to execute it, there is no response at all.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant