mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-08 09:20:01 +02:00
chore: Update package.json version to 1.2.12 and reorganize branding-patch.ts
This commit is contained in:
parent
4d3788e61d
commit
7446c59cf3
2 changed files with 4 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@zen-browser/surfer",
|
"name": "@zen-browser/surfer",
|
||||||
"version": "1.2.11",
|
"version": "1.2.12",
|
||||||
"description": "Simplifying building firefox forks!",
|
"description": "Simplifying building firefox forks!",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|
|
@ -222,15 +222,14 @@ async function copyMozFiles(
|
||||||
log.debug('Configuring branding.nsi into ' + outputBrandingNsis);
|
log.debug('Configuring branding.nsi into ' + outputBrandingNsis);
|
||||||
configureBrandingNsis(outputBrandingNsis, brandingConfig);
|
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
|
// Copy everything else from the default firefox branding directory
|
||||||
for (const file of everythingElse) {
|
for (const file of everythingElse) {
|
||||||
mkdirpSync(dirname(join(outputPath, file.replace(BRANDING_FF, ''))))
|
mkdirpSync(dirname(join(outputPath, file.replace(BRANDING_FF, ''))))
|
||||||
copyFileSync(file, join(outputPath, file.replace(BRANDING_FF, '')))
|
copyFileSync(file, join(outputPath, file.replace(BRANDING_FF, '')))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Create 'pref' directory
|
||||||
|
configureProfileBranding(configureProfileBrandingPath, brandingConfig);
|
||||||
}
|
}
|
||||||
|
|
||||||
// =============================================================================
|
// =============================================================================
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue