fix: trigger activate event when app is activated via app switcher (#23727)
fix: trigger activate event when app is activated via app switcher (#23727)

When application is activated thru macOS app switcher (cmd+tab) the
App's activate event is note emitted. The reason is that
`applicationShouldHandleReopen:hasVisibleWindows:` is sent only when app
is activated via Dock. Using `applicationDidBecomeActive:` is handling
all cases properly.

Co-authored-by: Lukas Weber <279d9c9889c4a9e463ed155a51439ae9dc9aa930@microsoft.com>
gerhardberger/electron,bpasero/electron,bpasero/electron,bpasero/electron,electron/electron,seanchas116/electron,electron/electron,bpasero/electron,gerhardberger/electron,seanchas116/electron,gerhardberger/electron,gerhardberger/electron,gerhardberger/electron,bpasero/electron,seanchas116/electron,gerhardberger/electron,seanchas116/electron,gerhardberger/electron,electron/electron,bpasero/electron,electron/electron,electron/electron,seanchas116/electron,electron/electron,bpasero/electron,electron/electron,seanchas116/electron