tooling/lib/openh264.js
async function injectLocal(def) {
  debug(`checking ${def.base} for firefox`);
  if (def.base.toLowerCase().includes('firefox')) {
    debug('def is a firefox def');
    const platform = platformToShortName(os.platform());

    debug(`injecting ${platform} profile into ${def.base}`);
    const dest = await prepareLocalProfile(platform);

    def.profile = dest;
    debug(`injected ${dest} profile into ${def.base}`);
  }
}
async function injectLocal(def) {
  debug(`checking ${def.base} for firefox`);
  if (def.base.toLowerCase().includes('firefox')) {
    debug('def is a firefox def');
    const platform = platformToShortName(os.platform());

    debug(`injecting ${platform} profile into ${def.base}`);
    const dest = await prepareLocalProfile(platform);

    def.profile = dest;
    debug(`injected ${dest} profile into ${def.base}`);
  }
}
async function injectLocal ( def ) { debug ( ` ${ def . base } ` ) ; if ( def . base . toLowerCase ( ) . includes ( 'firefox' ) ) { debug ( 'def is a firefox def' ) ; const platform = platformToShortName ( os . platform ( ) ) ; debug ( ` ${ platform } ${ def . base } ` ) ; const dest = await prepareLocalProfile ( platform ) ; def . profile = dest ; debug ( ` ${ dest } ${ def . base } ` ) ; } }
Injects a the path of a firefox profile directory into a local browser definition
@param {Object} def
Injects a the path of a firefox profile directory into a local browser definition