Iterate over the desktop file contents. Yields all lines except for the "Exec=" line verbatim. Modifies
    the Exec line to include the user desired command line switches (currently only one implemented).

def _manage_autostart_desktop_file_launch_flags(desktop_file_content: str, show_configure: bool) -> typing.Iterable[str]:
    """Iterate over the desktop file contents. Yields all lines except for the "Exec=" line verbatim. Modifies
    the Exec line to include the user desired command line switches (currently only one implemented)."""
    for line in desktop_file_content.splitlines(keepends=False):
        if line.startswith("Exec="):
            exec_line = _modify_exec_line(line, show_configure)
            _logger.info("Used 'Exec' line in desktop file: {}".format(exec_line))
            yield exec_line
        else:
            yield line