diff --git a/app/nw/scripts/bundle-app-dmg.mjs b/app/nw/scripts/bundle-app-dmg.mjs index f0817149c8..4dedafc6c1 100644 --- a/app/nw/scripts/bundle-app-dmg.mjs +++ b/app/nw/scripts/bundle-app-dmg.mjs @@ -57,6 +57,8 @@ async function cleanupNW(dirNW) { await fs.unlink(dirNW + '.dmg'); } catch(error) {/**/} await fs.move(path.join(dirNW, 'nwjs.app'), path.join(dirNW, product + '.app')); + // HACK: Workaround for https://github.com/nwjs/nw.js/issues/8157 + await run(`xattr -cr '${path.join(dirNW, product + '.app')}'`); } async function createDiskImage(dirNW, dirRes, dirOut) {