Conversation
…check Co-authored-by: lmangani <1423657+lmangani@users.noreply.github.com>
|
NOTE: Our OSX app should have an icon and remain running in the foreground. Currently the App icon is not shown as if the application is running, making it impossible to stop it. Make sure closing the window in pywebview terminates the app and services @copilot |
Co-authored-by: lmangani <1423657+lmangani@users.noreply.github.com>
…ness check, fix URL consistency Co-authored-by: lmangani <1423657+lmangani@users.noreply.github.com>
|
@copilot Our OSX app should have an icon and remain running in the foreground. Currently the App icon is not shown as if the application is running, making it impossible to stop it. Make sure closing the window in pywebview terminates the app and service freeing up memory gracefully |
Co-authored-by: lmangani <1423657+lmangani@users.noreply.github.com>
…fix exception handling Co-authored-by: lmangani <1423657+lmangani@users.noreply.github.com>
Fixed in commit cd9cff8. The app now: ✅ Shows icon in Dock - Added The cleanup function is now safe to call multiple times and automatically runs when the window closes. |
The macOS app was launching the UI in the system browser. This replaces that with a native pywebview window and enforces single-instance behavior, with proper app icon visibility and graceful shutdown.
Changes
Native window with pywebview
gui='cocoa') for proper macOS integrationSingle-instance enforcement
Graceful shutdown and cleanup
atexitfor automatic cleanup on exitServer readiness
Dependencies
pywebview>=4.0to requirements_macos.txtOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.