Richasy / FantasyCopilot

A new-age AI desktop tool
MIT License
430 stars 19 forks source link

Support user-determined behavior for closing windows. #40

Closed Richasy closed 1 year ago

Richasy commented 1 year ago

Close #32

  1. When the user attempts to close the window, a prompt will pop up asking if they would like to hide the application instead of closing it.
  2. Add a setting option about this behavior in the settings page.

PR type

What is the purpose of this PR?

What is the current behavior?

When the user attempts to close the window, the application will be hidden instead of closed.

What is the new behavior?

Users can adjust this behavior to decide whether closing the window will exit the application.

PR checklist

Please check that your PR meets the following requirements: