-
Notifications
You must be signed in to change notification settings - Fork 606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v1.0, chore, ui] close processes when window closes #584
Conversation
Desktop App for this PRThe following build is available for testing: The app is signed and notarized for macOS. After downloading, unzip the file and drag the Goose.app to your Applications folder. This link is provided by nightly.link and will work even if you're not logged into GitHub. |
ui/desktop/src/main.ts
Outdated
mainWindow.on('closed', () => { | ||
windowMap.delete(windowId); | ||
}); | ||
|
||
mainWindow.on('closed', () => { | ||
if (goosedProcess) { | ||
goosedProcess?.kill(); | ||
} | ||
}); | ||
|
||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why can't this be t same block?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably as I was tired abnd missed it!
ui/desktop/src/main.ts
Outdated
@@ -207,7 +213,6 @@ const createTray = () => { | |||
const tray = new Tray(iconPath); | |||
|
|||
const contextMenu = Menu.buildFromTemplate([ | |||
{ label: 'Show Window', click: showWindow }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we dropping this option. Wouldn't the remaining context menu just have a separator and then the Quit
item?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah - but I don't think it did anything? (it was a relic from wing to wing I think?) - but could check that out again
Desktop App for this PRThe following build is available for testing: The app is signed and notarized for macOS. After downloading, unzip the file and drag the Goose.app to your Applications folder. This link is provided by nightly.link and will work even if you're not logged into GitHub. |
Desktop App for this PRThe following build is available for testing: The app is signed and notarized for macOS. After downloading, unzip the file and drag the Goose.app to your Applications folder. This link is provided by nightly.link and will work even if you're not logged into GitHub. |
done in another PR |
cc @Kvadratni @baxen cleaning things up a but with GUI processes