Skip to content

Commit 23f1d5d

Browse files
committed
style(desktop): refine macOS installer layout
1 parent 2ff3951 commit 23f1d5d

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

240 KB
Loading
682 KB
Loading

apps/desktop/electron-builder.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,21 @@ mac:
6060

6161
dmg:
6262
sign: false
63+
title: ${productName}
64+
# Finder uses the image dimensions as the installer window dimensions. The
65+
# @2x companion is detected automatically and keeps the mountain artwork and
66+
# install arrow sharp on Retina displays.
67+
background: build/dmg-background.png
68+
iconSize: 96
69+
iconTextSize: 13
70+
contents:
71+
- x: 165
72+
y: 210
73+
type: file
74+
- x: 495
75+
y: 210
76+
type: link
77+
path: /Applications
6378

6479
# node-pty ships pure N-API prebuilds, which are ABI-stable across Node and
6580
# Electron versions, so there is nothing to rebuild against Electron's ABI.

0 commit comments

Comments
 (0)