mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-10 02:05:31 +02:00
Bump version to 1.4.25 in package.json and add debug log for generating Mac Icons
This commit is contained in:
parent
447eebc8d4
commit
debae390fc
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@zen-browser/surfer",
|
"name": "@zen-browser/surfer",
|
||||||
"version": "1.4.24",
|
"version": "1.4.25",
|
||||||
"description": "Simplifying building firefox forks!",
|
"description": "Simplifying building firefox forks!",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|
|
@ -104,11 +104,12 @@ async function setupImages(configPath: string, outputPath: string) {
|
||||||
if ((process as any).surferPlatform == 'darwin') {
|
if ((process as any).surferPlatform == 'darwin') {
|
||||||
log.debug('Generating Mac Icons')
|
log.debug('Generating Mac Icons')
|
||||||
log.debug(`Using MacOS icon: ${join(configPath, 'logo-mac.png')}`)
|
log.debug(`Using MacOS icon: ${join(configPath, 'logo-mac.png')}`)
|
||||||
|
log.debug(`Output path: ${outputPath}`)
|
||||||
const temporary = join(MELON_TMP_DIR, 'macos_icon_info.iconset')
|
const temporary = join(MELON_TMP_DIR, 'macos_icon_info.iconset')
|
||||||
|
|
||||||
if (existsSync(temporary)) await rm(temporary, { recursive: true })
|
if (existsSync(temporary)) await rm(temporary, { recursive: true })
|
||||||
|
|
||||||
asyncIcns.convert({
|
await asyncIcns.convert({
|
||||||
input: join(configPath, 'logo-mac.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],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue