Open rohitisinhk opened 4 years ago
This looks to be left over from before Squirrel used Stub Executables (#868) and probably doesn't belong there anymore - originally app shortcuts were always to Update.exe so there needed to be a way to distinguish between parameters intended for Update.exe and parameters for the app.
Why do we always append "-a" to the app argument in shortcuts.
My application takes parameter as MyApp.exe --mainConfig "SomeXml" --otherConfig "PathToSomeOtherXml"
However when the shortcut is created it appears as: MyApp.exe -a "--mainConfig SomeXml --otherConfig someOtherConfig"
Why did we chose to always prepend "-a"? "-a" is not a generic best practice so trying to understand why it was decided like so?