Currently for launching an application with Update.exe, we need to create a shortcut with the following target:
Update.exe --processStart MyExe
But is there a way to pass arguments to the command?
For example, i tried this:
Update.exe --processStart MyExe arg1 arg2
But saddly it's not working.
Thanks!
Kevin
I haven't tested the idea at all, but have you tried quoting your args? E.g.:
Update.exe --processStart "MyExe arg1 arg2"
Nice idea!
But sadly it didn't work.
I found there is an option to pass them here:
Update.exe --processStart Malone.exe --process-start-args "huh say wut"
I then used Environment.GetCommandLineArgs() to retrieve them, and for my simple testing purposes spat them out to a textbox:

@paulcbetts some commands/options that are in code, aren't shown when you run Update.exe without any parameters (to see the available commands and options):

Worth raising an issue for?
Oh thx it works like a charms!
Most helpful comment
I found there is an option to pass them here:
https://github.com/Squirrel/Squirrel.Windows/blob/0d1250aa6f0c25fe22e92add78af327d1277d97d/src/Update/Program.cs#L123
I then used
Environment.GetCommandLineArgs()to retrieve them, and for my simple testing purposes spat them out to a textbox:@paulcbetts some commands/options that are in code, aren't shown when you run
Update.exewithout any parameters (to see the available commands and options):Worth raising an issue for?