Problem statement
macOS supports two types of fullscreen: Zoom and Native Full Screen. Zoom will maximize the window similar to Windows/Ubuntu. Native Full Screen maximizes the window to its own separate workspace. This is used by default by all macOS apps (all 3rd party incl.)
It would be nice to have Native full screen on pressing maximize(green) button.
nativefier --help and https://github.com/jiahaog/nativefier/blob/master/docs/api.md , no existing option fits my needs.Suggested solution
Electron definitely supports native full screen as electron apps are able to full screen natively. Thus it must be possible to include it as an option in nativefier.
This worked in version 8.0.7 but I just upgraded to 9.1.0 and it is broken.
I am facing the same issue. Please look into it :)
Issue persists in 10.1.0 (on macOS Catalina 10.15.6 (19G2021)).
But, interestingly, when using nativefier --full-screen '<url>' to force the app to open in native full-screen: that works!
And, I can exit full-screen and re-enter it with no issues using the native window controls:

I'm also running into this issue of missing native full screen on macOS. In addition, when creating an app for YouTube, the video doesn't full screen to the entire monitor- it only fills the app window.
I'm having the same problem on Catalina with the latest version of Nativefier (via Homebrew).
After fiddling around a bit and reading some documentation of Nativefier and Electron I tried adding the following parameter:
--browserwindow-options '{ "fullscreenable": "true", "simpleFullscreen": "false" }'
That fixes my problem and windows behave as they should regarding fullscreen support. Maybe this helps in finding a general solution. If not, it is (at least for me) a possible workaround.
Most helpful comment
I'm having the same problem on Catalina with the latest version of Nativefier (via Homebrew).
After fiddling around a bit and reading some documentation of Nativefier and Electron I tried adding the following parameter:
--browserwindow-options '{ "fullscreenable": "true", "simpleFullscreen": "false" }'That fixes my problem and windows behave as they should regarding fullscreen support. Maybe this helps in finding a general solution. If not, it is (at least for me) a possible workaround.