From c771b57345d06acf2c854fe49718cb6059583923 Mon Sep 17 00:00:00 2001 From: Kirill Pinchuk Date: Wed, 16 Mar 2022 14:43:44 +0300 Subject: [PATCH] bless on arm64 Fixes #204 --- lib/appdmg.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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) })