Enhance the macOS zoom button so clicking maximizes or restores the window, and holding ⌘ makes it fullscreen.