1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-15 20:35:23 +03:00

Moved format and background inside specification.

This commit is contained in:
jflyper 2017-11-25 21:53:28 +09:00
parent b5fe22c678
commit 24e80fb415

View file

@ -314,16 +314,22 @@ function release_osx64() {
return gulp.src([])
.pipe(appdmg({
target: path.join(releaseDir, get_release_filename('macOS', 'dmg')),
background: path.join(__dirname, 'images/dmg-background.png'),
basepath: path.join(appsDir, pkg.name, 'osx64'),
specification: {
'title': 'Betaflight Configurator',
'contents': [
title: 'Betaflight Configurator',
contents: [
{ 'x': 448, 'y': 342, 'type': 'link', 'path': '/Applications' },
{ 'x': 192, 'y': 344, 'type': 'file', 'path': pkg.name + '.app', 'name': 'Betaflight Configurator.app' }
]
],
background: path.join(__dirname, 'images/dmg-background.png'),
format: 'UDZO',
window: {
size: {
width: 638,
height: 479
}
}
},
format: 'UDB0'
})
);
}