diff --git a/app-template/build-electron-template.js b/app-template/build-electron-template.js index 056f1fa369..c5ff0b83d5 100644 --- a/app-template/build-electron-template.js +++ b/app-template/build-electron-template.js @@ -31,6 +31,7 @@ builder artifactName: '*USERVISIBLENAME*', darkModeSupport: false, identity: 'BitPay, Inc. (884JRH5R93)', + provisioningProfile: './*PACKAGENAME*-embedded.provisionprofile', extendInfo: { NSCameraUsageDescription: 'Scan a Bitcoin Address directly to your Wallet and send funds to it' @@ -41,7 +42,7 @@ builder artifactName: '*USERVISIBLENAME*.pkg', identity: 'BitPay, Inc. (884JRH5R93)', entitlements: './*PACKAGENAME*-entitlements.mas.plist', - provisioningProfile: './*PACKAGENAME*-embedded.provisionprofile' + entitlementsInherit: 'entitlements.mas.inherit.plist' }, dmg: { artifactName: '*USERVISIBLENAME*.dmg', diff --git a/entitlements.mas.inherit.plist b/entitlements.mas.inherit.plist new file mode 100644 index 0000000000..d8dc69e808 --- /dev/null +++ b/entitlements.mas.inherit.plist @@ -0,0 +1,10 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.inherit + + + diff --git a/package.json b/package.json index c5b710d378..55d4227518 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "open:android": "open -a open -a /Applications/Android\\ Studio.app platforms/android", "final:ios": "npm run build:ios-release && npm run open:ios", "final:android": "npm run build:android-release && npm run sign:android && npm run run:android-release", - "final:desktop": "npm run electron:patch && npm run build:desktop-release && npm run build:electron", + "final:desktop": "npm run build:desktop-release && npm run build:electron", "run:android": "npm run env:dev && ionic cordova run android --device --debug", "run:android-release": "npm run env:prod && ionic cordova run android --device --release", "log:android": "adb logcat | grep chromium",