Skip to content

Commit

Permalink
bless on arm64 Fixes #204
Browse files Browse the repository at this point in the history
  • Loading branch information
cybergrind committed Mar 17, 2022
1 parent ceca01e commit c771b57
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 c771b57

Please sign in to comment.