Bug: Electron window is shown after computer restart on macOS
Opened this issue · 2 comments
Hi, when I restart my MacBook and select the reopen windows option it doesn't start the application and shows an Electron window instead.
- Build the demo application from https://github.com/asticode/go-astilectron-demo
- Move the
.app
file to the applications directory and open the app - Restart macOS and select Reopen windows when logging back in
Result: It shows and window of Electron instead of the demo application.
This issue was reported here kubenav/kubenav#257 with a screenshot of what is shown after restart (looks similar for the demo application):
It looks like it doesn't run the original parent process:
I tested this with Electron 7.x and 9.x. I'm using the following version of go-astilectron:
github.com/asticode/go-astikit v0.9.1
github.com/asticode/go-astilectron v0.18.0
github.com/asticode/go-astilectron-bootstrap v0.4.0
github.com/asticode/go-astilectron-bundler v0.7.2
Do you have an idea what the problem could be?
@ricoberger this is linked to this Windows 10 Jumplist bug. I don't have a solution for this as of now.
Hi @asticode, thanks for the fast reply. When you found a solution for this and need someone for testing please let me now.