pub fn snap_window(app: AppHandle) -> Result<(), String>
Leaves fullscreen or maximized and resizes the main window to the default aspect ratio, keeping its width where it fits on the screen.