mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2024-11-14 18:57:40 +01:00
fix: 🐛 MacOS reduced to the tray to evoke failure
This commit is contained in:
parent
4d4f3b346a
commit
6153bc4c52
@ -105,14 +105,12 @@ app.on('activate', () => {
|
||||
createWindow()
|
||||
}
|
||||
|
||||
if (app.isHidden()) {
|
||||
app.show()
|
||||
app.focus()
|
||||
}
|
||||
|
||||
if (!app.dock.isVisible()) {
|
||||
app.dock.show()
|
||||
}
|
||||
|
||||
app.show()
|
||||
app.focus()
|
||||
})
|
||||
|
||||
app.whenReady().then(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user