Skip to content

Commit

Permalink
Fixed sandbox-security inherit mas
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgustavo committed Dec 31, 2019
1 parent f2eeab7 commit 8636e3f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app-template/build-electron-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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',
Expand Down
10 changes: 10 additions & 0 deletions entitlements.mas.inherit.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.inherit</key>
<true/>
</dict>
</plist>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8636e3f

Please sign in to comment.