Skip to content

Commit

Permalink
πŸ› Fix bless on arm64 platform (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
cybergrind authored Mar 17, 2022
1 parent ceca01e commit 3f2c8bd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/appdmg.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,10 +396,13 @@ module.exports = exports = function (options) {

pipeline.addStep('Blessing image', function (next) {
const args = [
'--folder', global.temporaryMountPath,
'--openfolder', global.temporaryMountPath
'--folder', global.temporaryMountPath
]

if (os.arch() !== 'arm64') {
args.push('--openfolder', global.temporaryMountPath)
}

util.sh('bless', args, next)
})

Expand Down

0 comments on commit 3f2c8bd

Please sign in to comment.