Skip to content

Commit 3f2c8bd

Browse files
authored
🐛 Fix bless on arm64 platform (#205)
1 parent ceca01e commit 3f2c8bd

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

lib/appdmg.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,10 +396,13 @@ module.exports = exports = function (options) {
396396

397397
pipeline.addStep('Blessing image', function (next) {
398398
const args = [
399-
'--folder', global.temporaryMountPath,
400-
'--openfolder', global.temporaryMountPath
399+
'--folder', global.temporaryMountPath
401400
]
402401

402+
if (os.arch() !== 'arm64') {
403+
args.push('--openfolder', global.temporaryMountPath)
404+
}
405+
403406
util.sh('bless', args, next)
404407
})
405408

0 commit comments

Comments
 (0)