node-auto-launch icon indicating copy to clipboard operation
node-auto-launch copied to clipboard

Execute path was not escaped on Linux

Open ansidev opened this issue 7 years ago • 1 comments

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

ansidev avatar Mar 21 '18 16:03 ansidev

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

Izurii avatar May 20 '21 05:05 Izurii