chore: Update package.json version to 1.2.12 and reorganize branding-patch.ts

This commit is contained in:
Mauro Balades 2024-08-19 20:25:56 +02:00
parent 4d3788e61d
commit 7446c59cf3
2 changed files with 4 additions and 5 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@zen-browser/surfer",
"version": "1.2.11",
"version": "1.2.12",
"description": "Simplifying building firefox forks!",
"main": "index.js",
"bin": {

View file

@ -222,15 +222,14 @@ async function copyMozFiles(
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
for (const file of everythingElse) {
mkdirpSync(dirname(join(outputPath, file.replace(BRANDING_FF, ''))))
copyFileSync(file, join(outputPath, file.replace(BRANDING_FF, '')))
}
// Create 'pref' directory
configureProfileBranding(configureProfileBrandingPath, brandingConfig);
}
// =============================================================================