mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-16 04:45:20 +03:00
Merge pull request #745 from jflyper/Compress-osx-dmg-with-UDB0
OSX: Compress DMG
This commit is contained in:
commit
2e610aa8ee
1 changed files with 12 additions and 5 deletions
17
gulpfile.js
17
gulpfile.js
|
@ -314,15 +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
|
||||
}
|
||||
}
|
||||
},
|
||||
})
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue