Bump version to 1.4.25 in package.json and add debug log for generating Mac Icons

This commit is contained in:
mauro-balades 2024-10-01 19:56:21 +02:00
parent 447eebc8d4
commit debae390fc
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB
2 changed files with 3 additions and 2 deletions

View file

@ -104,11 +104,12 @@ async function setupImages(configPath: string, outputPath: string) {
if ((process as any).surferPlatform == 'darwin') {
log.debug('Generating Mac Icons')
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')
if (existsSync(temporary)) await rm(temporary, { recursive: true })
asyncIcns.convert({
await asyncIcns.convert({
input: join(configPath, 'logo-mac.png'),
output: join(outputPath, 'firefox.icns'),
sizes: [16, 32, 64, 128, 256, 512],