Skip to content

Execute path was not escaped on Linux #78

@ansidev

Description

@ansidev
  • 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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions