Squirrel / Squirrel.Mac

:shipit: Cocoa framework for updating OS X apps :shipit:
MIT License
1.57k stars 128 forks source link

[Feature Request] Add startup command argument to updated application #271

Open aprilandjan opened 1 year ago

aprilandjan commented 1 year ago

Hi,

I'm trying to do some judgement after application is updated and relaunched by squirrel.Mac, for example, show welcome panel, display changelog or something like that, to trace through the whole application lifecycle. However, I cannot find a reliable way to arhcive that.

So I'm wondering if Squirrel.Mac has the ability to add specific startup command argument to updated application. It seems that the squirrel.windows has the mechanism already, see: https://github.com/Squirrel/Squirrel.Windows/blob/master/docs/using/custom-squirrel-events-non-cs.md#application-startup-commands

Thanks!