Skip to content

Commit ad05bda

Browse files
committed
bug fix
1 parent 667e230 commit ad05bda

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+5665
-5430
lines changed

.DS_Store

2 KB
Binary file not shown.

binding.gyp

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
'variables': {
3+
# node v0.6.x doesn't give us its build variables,
4+
# but on Unix it was only possible to use the system OpenSSL library,
5+
# so default the variable to "true", v0.8.x node and up will overwrite it.
6+
'node_shared_openssl%': 'true'
7+
},
8+
"targets": [{
9+
"target_name": "binding",
10+
"sources": [ "/usr/local/bin/node" ],
11+
"conditions": [
12+
[
13+
"target_arch=='ia32'", {
14+
"variables": {
15+
"openssl_config_path": "/private/etc/ssl/openssl.cnf"
16+
}
17+
}
18+
],
19+
[
20+
"target_arch=='x64'", {
21+
"variables": {
22+
"openssl_config_path": "/private/etc/ssl/openssl.cnf"
23+
},
24+
}
25+
],
26+
[
27+
"target_arch=='arm'", {
28+
"variables": {
29+
"openssl_config_path": "/private/etc/ssl/openssl.cnf"
30+
}
31+
}
32+
],
33+
]
34+
}]
35+
36+
}

build-tools/entitlements.mac.plist

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>com.apple.security.cs.allow-unsigned-executable-memory</key><true/>
6-
<key>com.apple.security.network.client</key><true/>
7-
<key>com.apple.security.network.server</key><true/>
8-
<key>com.apple.security.cs.allow-jit</key><true/>
5+
<key>com.apple.security.cs.allow-jit</key>
6+
<true/>
7+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
8+
<true/>
9+
<key>com.apple.security.network.client</key>
10+
<true/>
911
</dict>
1012
</plist>

build-tools/notarize.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require('dotenv').config();
22
process.env.DEBUG = 'electron-notarize*'
33
const {notarize} = require('electron-notarize');
4-
4+
// xcrun altool --list-apps -u "username" -p "password"
55
exports.default = async function notarizing(context) {
66
const {electronPlatformName, appOutDir} = context;
77
if (electronPlatformName !== 'darwin') {
@@ -13,12 +13,12 @@ exports.default = async function notarizing(context) {
1313
try {
1414
await notarize({
1515
tool: 'notarytool',
16-
appBundleId: 'app.conet.platform',
16+
appBundleId: 'CONET-Labs.CONET-Labs-SilentPass',
1717
appPath: `${appOutDir}/${appName}.app`,
1818
appleId: process.env.NOTARIZE_APPLE_ID,
1919
appleIdPassword: process.env.NOTARIZE_APPLE_PASS,
20-
ascProvider: '7M7YV9RB5V',
21-
teamId: '7M7YV9RB5V'
20+
ascProvider: '23YYTMA7YQ',
21+
teamId: '23YYTMA7YQ'
2222
});
2323
console.log(`notarize success!`)
2424
} catch (err) {

0 commit comments

Comments
 (0)