Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Squirrel Arguments appending "-a" #1595

Open
rohitisinhk opened this issue Mar 11, 2020 · 1 comment
Open

Squirrel Arguments appending "-a" #1595

rohitisinhk opened this issue Mar 11, 2020 · 1 comment

Comments

@rohitisinhk
Copy link

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?

@anaisbetts
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants