SnosMe / electron-overlay-window

Creating overlays is easy like never before
MIT License
200 stars 37 forks source link

Is there a way to detected when attached program end ? #21

Closed BThiebaut closed 3 years ago

BThiebaut commented 3 years ago

Currently if the attached program being closed, the overlay process sill visible in task manager. I want to be able to call app.quit(); when the attached program is ended, is there a way to do it ?

SnosMe commented 3 years ago

Yes

https://github.com/SnosMe/electron-overlay-window/blob/e0b3da27a20251cb5673c43390abdc2e3fe3e78e/src/index.ts#L52