mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-07 17:05:33 +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
|
@ -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],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue