diff --git a/lib/appdmg.js b/lib/appdmg.js index 1cef8fd..d574ccc 100644 --- a/lib/appdmg.js +++ b/lib/appdmg.js @@ -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) })