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

Doesn't add quotes to binary paths #6

Closed
hanaral opened this issue Aug 23, 2021 · 2 comments
Closed

Doesn't add quotes to binary paths #6

hanaral opened this issue Aug 23, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@hanaral
Copy link

hanaral commented Aug 23, 2021

Trying to create a launcher for a binary with a path containing any spaces produces a .desktop that doesn't work.
This could be solved by making the app add ' to either side of the selected binarys path in the .desktop
example:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec='/example folder with spaces/example-executable'
Name=Example name
Icon=/example folder with spaces/example image.png

the quotes aren't necessary for icons

@amka
Copy link
Contributor

amka commented Aug 23, 2021

Good point. Will check and add it.

@amka amka self-assigned this Aug 23, 2021
@amka amka added the enhancement New feature or request label Aug 23, 2021
amka pushed a commit that referenced this issue Aug 25, 2021
@amka
Copy link
Contributor

amka commented Sep 2, 2021

Done!

@amka amka closed this as completed Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants