node-auto-launch
node-auto-launch copied to clipboard
Execute path was not escaped on Linux
- The target platform(s) the problem occurs on: Linux
- Node version (run
node -v): 8.10.0 - auto-launch version: 5.0.5
- The options i'm passing to auto-launch:
var autoLauncher = new AutoLaunch({
name: 'Name with space',
});
- Electron 1.8.4
- Main process
If I pass value for option name in AutoLaunch object which has whitespace, the execute path in .desktop file will not be escaped.
Value: Name with space
Expected execute path: /opt/Name\ with\ space/app
Actual execute path: /opt/Name with space/app (missing \ to escape whitespace)
As the originals developers of the package is not maintaining this project anymore, I replicated and will be taking over, if you could take a look at it I'll be happy. This issue is already solved in my version of the project.
https://github.com/Izurii/easy-auto-launch