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:
parent
b5fe22c678
commit
24e80fb415
1 changed files with 11 additions and 5 deletions
16
gulpfile.js
16
gulpfile.js
|
@ -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'
|
||||
})
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue