A native-like macOS wrapper for Google Messages that properly handles window closing behavior.
- Prevents the app from quitting when the window is closed on macOS (behaves like native apps)
- Persists window size and position between sessions
- Ensures the window stays within visible screen bounds (even after display changes)
- Restores window when clicking the app icon in the dock
Google Messages is a great service, but when used as a PWA on macOS, clicking the close button quits the app completely instead of minimizing to the dock like native macOS apps. This Tauri-based wrapper solves that problem by intercepting the close event and simply hiding the window instead.
Download the latest release from the Releases page.
- Rust (with
cargo
installed) - Tauri CLI
- Clone this repository:
git clone https://github.com/tomvoss/google-messages-for-macos.git
cd google-messages-for-macos
- Install dependencies:
cargo install tauri-cli
- Run the app in development mode:
cargo tauri dev
- Build the app for distribution:
cargo tauri build
The built application will be available in the target/release/bundle/macos/
directory.
src-tauri/
- Tauri application configuration and Rust backendsrc/
- Frontend UI filespackage.json
- Project configuration (if using a frontend framework)
The application works by:
- Intercepting the window close event on macOS
- Preventing the default behavior (quitting)
- Saving the window state
- Hiding the window instead of closing it
- Restoring the window when clicking the dock icon
This creates a user experience consistent with native macOS applications.
MIT