feat: update installer view as per design
This commit is contained in:
parent
cbabf27d26
commit
afb7c44ca5
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 914 B After Width: | Height: | Size: 11 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 25 KiB |
30
cli.js
30
cli.js
|
@ -121,26 +121,44 @@ async function init() {
|
||||||
// Use transparent background and `background-color` option when this is fixed:
|
// Use transparent background and `background-color` option when this is fixed:
|
||||||
// https://github.com/LinusU/node-appdmg/issues/135
|
// https://github.com/LinusU/node-appdmg/issues/135
|
||||||
background: path.join(__dirname, 'assets/dmg-background.png'),
|
background: path.join(__dirname, 'assets/dmg-background.png'),
|
||||||
'icon-size': 160,
|
'icon-size': 75,
|
||||||
format: dmgFormat,
|
format: dmgFormat,
|
||||||
window: {
|
window: {
|
||||||
size: {
|
size: {
|
||||||
width: 660,
|
width: 660,
|
||||||
height: 400
|
height: 420
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
contents: [
|
contents: [
|
||||||
{
|
{
|
||||||
x: 180,
|
x: 200,
|
||||||
y: 170,
|
y: 140,
|
||||||
type: 'file',
|
type: 'file',
|
||||||
path: appPath
|
path: appPath
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: 480,
|
x: 440,
|
||||||
y: 170,
|
y: 140,
|
||||||
type: 'link',
|
type: 'link',
|
||||||
path: '/Applications'
|
path: '/Applications'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
x: 320,
|
||||||
|
y: 315,
|
||||||
|
type: 'link',
|
||||||
|
path: path.join(__dirname, 'assets/OPEN ME.webloc')
|
||||||
|
},
|
||||||
|
{
|
||||||
|
x: 280,
|
||||||
|
y: 450,
|
||||||
|
type: 'position',
|
||||||
|
path: '.background'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
x: 380,
|
||||||
|
y: 450,
|
||||||
|
type: 'position',
|
||||||
|
path: '.VolumeIcon.icns'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue