Skip to content

Commit 9cdfa2d

Browse files
Prepare app for notarization
1 parent 355e917 commit 9cdfa2d

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"mac": {
3535
"appId": "de.t7n.apps.mqtt-explorer",
3636
"category": "public.app-category.developer-tools",
37+
"hardenedRuntime": true,
3738
"publish": [
3839
"github"
3940
],
@@ -61,7 +62,8 @@
6162
"buildResources": "res",
6263
"output": "build"
6364
},
64-
"afterPack": "./dist/scripts/afterPack.js"
65+
"afterPack": "./dist/scripts/afterPack.js",
66+
"afterSign": "./scripts/afterSign.js"
6567
},
6668
"author": "Thomas Nordquist",
6769
"email": "[email protected]",
@@ -82,6 +84,7 @@
8284
"cspell": "^4.0.28",
8385
"electron": "8.2.3",
8486
"electron-builder": "22.5.1",
87+
"electron-notarize": "^0.3.0",
8588
"mocha": "7.1",
8689
"mustache": "4",
8790
"npm-run-all": "^4.1.5",

res/entitlements.mas.plist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,11 @@
88
<true/>
99
<key>com.apple.security.files.user-selected.read-only</key>
1010
<true/>
11+
<key>com.apple.security.cs.allow-jit</key>
12+
<true/>
13+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
14+
<true/>
15+
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
16+
<true/>
1117
</dict>
1218
</plist>

yarn.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,6 +1887,14 @@ [email protected]:
18871887
resolved "https://registry.yarnpkg.com/electron-log/-/electron-log-4.1.1.tgz#c57e3d833f723742eb430dc2cdaa6f97d8dbcaff"
18881888
integrity sha512-vkK3rNBOciRiinxrsdgg8hyUia+ct8ZMjBblvKjgNk4uHEDjjSyn313NOwv75xOMVIKlfmYzxaN8kR/oGC33aQ==
18891889

1890+
electron-notarize@^0.3.0:
1891+
version "0.3.0"
1892+
resolved "https://registry.yarnpkg.com/electron-notarize/-/electron-notarize-0.3.0.tgz#b93c606306eac558b250c78ff95273ddb9fedf0a"
1893+
integrity sha512-tuDw8H0gcDOalNLv6RM2CwGvUXU60MPGZRDEmd0ppX+yP5XqL8Ec2DuXyz9J7WQSA3aRCfzIgH8C5CAivDYWMw==
1894+
dependencies:
1895+
debug "^4.1.1"
1896+
fs-extra "^8.1.0"
1897+
18901898
18911899
version "22.5.1"
18921900
resolved "https://registry.yarnpkg.com/electron-publish/-/electron-publish-22.5.1.tgz#04b3c90961226e687a588e743011b4b72cc6be56"

0 commit comments

Comments
 (0)