chore: Update package.json version to 1.2.11 and create 'pref' directory

This commit is contained in:
Mauro Balades 2024-08-19 20:21:38 +02:00
parent 9867569a2f
commit 4d3788e61d
2 changed files with 4 additions and 1 deletions

View file

@ -221,6 +221,9 @@ async function copyMozFiles(
const configureProfileBrandingPath = join(outputPath, 'pref', 'firefox-branding.js');
log.debug('Configuring branding.nsi into ' + outputBrandingNsis);
configureBrandingNsis(outputBrandingNsis, brandingConfig);
// Create 'pref' directory
mkdirSync(dirname(join(outputPath, 'pref')), { recursive: true });
configureProfileBranding(configureProfileBrandingPath, brandingConfig);
// Copy everything else from the default firefox branding directory