Skip to content

Commit 8636e3f

Browse files
committedDec 31, 2019
Fixed sandbox-security inherit mas
1 parent f2eeab7 commit 8636e3f

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed
 

‎app-template/build-electron-template.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ builder
3131
artifactName: '*USERVISIBLENAME*',
3232
darkModeSupport: false,
3333
identity: 'BitPay, Inc. (884JRH5R93)',
34+
provisioningProfile: './*PACKAGENAME*-embedded.provisionprofile',
3435
extendInfo: {
3536
NSCameraUsageDescription:
3637
'Scan a Bitcoin Address directly to your Wallet and send funds to it'
@@ -41,7 +42,7 @@ builder
4142
artifactName: '*USERVISIBLENAME*.pkg',
4243
identity: 'BitPay, Inc. (884JRH5R93)',
4344
entitlements: './*PACKAGENAME*-entitlements.mas.plist',
44-
provisioningProfile: './*PACKAGENAME*-embedded.provisionprofile'
45+
entitlementsInherit: 'entitlements.mas.inherit.plist'
4546
},
4647
dmg: {
4748
artifactName: '*USERVISIBLENAME*.dmg',

‎entitlements.mas.inherit.plist

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.app-sandbox</key>
6+
<true/>
7+
<key>com.apple.security.inherit</key>
8+
<true/>
9+
</dict>
10+
</plist>

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"open:android": "open -a open -a /Applications/Android\\ Studio.app platforms/android",
7171
"final:ios": "npm run build:ios-release && npm run open:ios",
7272
"final:android": "npm run build:android-release && npm run sign:android && npm run run:android-release",
73-
"final:desktop": "npm run electron:patch && npm run build:desktop-release && npm run build:electron",
73+
"final:desktop": "npm run build:desktop-release && npm run build:electron",
7474
"run:android": "npm run env:dev && ionic cordova run android --device --debug",
7575
"run:android-release": "npm run env:prod && ionic cordova run android --device --release",
7676
"log:android": "adb logcat | grep chromium",

0 commit comments

Comments
 (0)
Please sign in to comment.