The answer here is “it’s a job for grep, sed and if/then.” In the
Firefox and Firefox ESR bundles, application.ini has a field which you
can use to differentiate between the two. Grep for firefox-esr or
firefox; sed to remove the extras; and then mak...