[][src]Function mozversion::firefox_version

pub fn firefox_version(binary: &Path) -> Result<AppVersion, Error>

Determine the version of Firefox given the path to a binary.

Given the path to a Firefox binary, read the associated application.ini and platform.ini files to extract information about the version of Firefox at that path.