0

I'm trying to pass --createShortcut -l="StartMenu" to squirrel's Update.exe but it doesn't seem to work. Once I remove the -l option it succeeds. I am using electron for the main app and node's spawnSync to create it.

Joshua
  • 5,032
  • 2
  • 29
  • 45
Husayn Versee
  • 340
  • 6
  • 13

1 Answers1

0

The issue was the quotation. Even though the documentation says that we should use the quotation calling it via spawnSync started working once I got rid of the quotes.

Husayn Versee
  • 340
  • 6
  • 13