wails/v3/examples/systray-basic
Claude 742eccfdc0
feat(v3): add -f flag to force init in non-empty directories
Port the safety check enhancement from v2 to v3. The existing safety
check in templates.go now respects a new -f/--force flag that allows
users to explicitly acknowledge and proceed with initialization in
non-empty directories.

Fixes #4940 (v3 portion)

https://claude.ai/code/session_01EN7wUQygUFthJ8WaRULfot
2026-02-02 10:00:17 +00:00
..
main.go feat(v3): add -f flag to force init in non-empty directories 2026-02-02 10:00:17 +00:00
README.md feat(v3): add -f flag to force init in non-empty directories 2026-02-02 10:00:17 +00:00

Systray Basic Example

This example creates a simple system tray with an attached window. The window is hidden by default and toggled by left-clicking on the systray icon. The window will hide automatically when it loses focus.

On Windows, if the icon is in the notification flyout, then the window will be shown in the bottom right corner.

Status

Platform Status
Mac Working
Windows Working
Linux