mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-08 01:10:03 +02:00
chore: Update package.json version to 1.2.2 and add logo-mac.png for branding
This commit is contained in:
parent
71fa9b96b5
commit
0150f260bf
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@zen-browser/surfer",
|
"name": "@zen-browser/surfer",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"description": "Simplifying building firefox forks!",
|
"description": "Simplifying building firefox forks!",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|
|
@ -41,7 +41,7 @@ export const BRANDING_DIR = join(CONFIGS_DIR, 'branding')
|
||||||
const BRANDING_STORE = join(ENGINE_DIR, 'browser', 'branding')
|
const BRANDING_STORE = join(ENGINE_DIR, 'browser', 'branding')
|
||||||
const BRANDING_FF = join(BRANDING_STORE, 'unofficial')
|
const BRANDING_FF = join(BRANDING_STORE, 'unofficial')
|
||||||
|
|
||||||
const REQUIRED_FILES = ['logo.png']
|
const REQUIRED_FILES = ['logo.png', 'logo-mac.png'];
|
||||||
const BRANDING_NSIS = 'branding.nsi';
|
const BRANDING_NSIS = 'branding.nsi';
|
||||||
|
|
||||||
const CSS_REPLACE_REGEX = new RegExp(
|
const CSS_REPLACE_REGEX = new RegExp(
|
||||||
|
@ -117,7 +117,7 @@ async function setupImages(configPath: string, outputPath: string) {
|
||||||
if (existsSync(temporary)) await rm(temporary, { recursive: true })
|
if (existsSync(temporary)) await rm(temporary, { recursive: true })
|
||||||
|
|
||||||
asyncIcns.convert({
|
asyncIcns.convert({
|
||||||
input: join(configPath, 'logo.png'),
|
input: join(configPath, 'logo-mac.png'),
|
||||||
output: join(outputPath, 'firefox.icns'),
|
output: join(outputPath, 'firefox.icns'),
|
||||||
sizes: [16, 32, 64, 128, 256, 512],
|
sizes: [16, 32, 64, 128, 256, 512],
|
||||||
tmpDirectory: temporary,
|
tmpDirectory: temporary,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue