Skip to content

Commit ca32981

Browse files
authored
fix: Fix release with arm64 (#2542)
1 parent 265dd4b commit ca32981

File tree

4 files changed

+29
-14
lines changed

4 files changed

+29
-14
lines changed

packages/neuron-wallet/assets/entitlements.plist

+2
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@
1010
<true/>
1111
<key>com.apple.security.device.camera</key>
1212
<true/>
13+
<key>com.apple.security.cs.allow-jit</key>
14+
<true/>
1315
</dict>
1416
</plist>

packages/neuron-wallet/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"dependencies": {
3939
"@ckb-lumos/base": "0.18.0-rc2",
4040
"@ckb-lumos/rpc": "0.18.0-rc2",
41+
"@electron/notarize": "1.2.3",
4142
"@iarna/toml": "2.2.5",
4243
"@ledgerhq/hw-transport-node-hid": "6.27.6",
4344
"@nervina-labs/ckb-indexer": "0.1.1",
@@ -62,8 +63,8 @@
6263
"sqlite3": "5.1.2",
6364
"subleveldown": "4.1.4",
6465
"typeorm": "0.2.25",
65-
"uuid": "8.3.2",
66-
"undici": "5.11.0"
66+
"undici": "5.11.0",
67+
"uuid": "8.3.2"
6768
},
6869
"devDependencies": {
6970
"@nervosnetwork/ckb-types": "0.103.1",
@@ -85,7 +86,6 @@
8586
"electron-build-env": "0.2.0",
8687
"electron-builder": "23.6.0",
8788
"electron-devtools-installer": "2.2.4",
88-
"electron-notarize": "0.3.0",
8989
"eslint": "8.25.0",
9090
"eslint-config-prettier": "6.15.0",
9191
"eslint-plugin-prettier": "3.4.1",

packages/neuron-wallet/scripts/notarize.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { notarize } = require('electron-notarize')
1+
const { notarize } = require('@electron/notarize')
22

33
exports.default = async function notarizing(context) {
44
const { electronPlatformName, appOutDir } = context;

yarn.lock

+23-10
Original file line numberDiff line numberDiff line change
@@ -1384,6 +1384,14 @@
13841384
global-agent "^3.0.0"
13851385
global-tunnel-ng "^2.7.1"
13861386

1387+
"@electron/notarize@1.2.3":
1388+
version "1.2.3"
1389+
resolved "https://registry.yarnpkg.com/@electron/notarize/-/notarize-1.2.3.tgz#38056a629e5a0b5fd56c975c4828c0f74285b644"
1390+
integrity sha512-9oRzT56rKh5bspk3KpAVF8lPKHYQrBnRwcgiOeR0hdilVEQmszDaAu0IPCPrwwzJN0ugNs0rRboTreHMt/6mBQ==
1391+
dependencies:
1392+
debug "^4.1.1"
1393+
fs-extra "^9.0.1"
1394+
13871395
"@electron/universal@1.2.1":
13881396
version "1.2.1"
13891397
resolved "https://registry.yarnpkg.com/@electron/universal/-/universal-1.2.1.tgz#3c2c4ff37063a4e9ab1e6ff57db0bc619bc82339"
@@ -10058,14 +10066,6 @@ electron-log@4.0.0:
1005810066
resolved "https://registry.yarnpkg.com/electron-log/-/electron-log-4.0.0.tgz#9315e4a5e6be5e2a158909856b2d2cb4d760cd6d"
1005910067
integrity sha512-pj5Om0XoImjoq60zgvTv86W+2+7VMQIW0jmKWkXXTTjiC2L2WNfNDfMbpqo8Qj2szY1LsVyFhgRNBLXVrYNDJQ==
1006010068

10061-
electron-notarize@0.3.0:
10062-
version "0.3.0"
10063-
resolved "https://registry.yarnpkg.com/electron-notarize/-/electron-notarize-0.3.0.tgz#b93c606306eac558b250c78ff95273ddb9fedf0a"
10064-
integrity sha512-tuDw8H0gcDOalNLv6RM2CwGvUXU60MPGZRDEmd0ppX+yP5XqL8Ec2DuXyz9J7WQSA3aRCfzIgH8C5CAivDYWMw==
10065-
dependencies:
10066-
debug "^4.1.1"
10067-
fs-extra "^8.1.0"
10068-
1006910069
electron-osx-sign@^0.6.0:
1007010070
version "0.6.0"
1007110071
resolved "https://registry.yarnpkg.com/electron-osx-sign/-/electron-osx-sign-0.6.0.tgz#9b69c191d471d9458ef5b1e4fdd52baa059f1bb8"
@@ -10347,7 +10347,6 @@ es-abstract@^1.17.2, es-abstract@^1.19.0, es-abstract@^1.20.4:
1034710347
function.prototype.name "^1.1.5"
1034810348
get-intrinsic "^1.1.3"
1034910349
get-symbol-description "^1.0.0"
10350-
gopd "^1.0.1"
1035110350
has "^1.0.3"
1035210351
has-property-descriptors "^1.0.0"
1035310352
has-symbols "^1.0.3"
@@ -12089,6 +12088,13 @@ good-listener@^1.2.2:
1208912088
dependencies:
1209012089
delegate "^3.1.2"
1209112090

12091+
gopd@^1.0.1:
12092+
version "1.0.1"
12093+
resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c"
12094+
integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==
12095+
dependencies:
12096+
get-intrinsic "^1.1.3"
12097+
1209212098
got@^9.6.0:
1209312099
version "9.6.0"
1209412100
resolved "https://registry.yarnpkg.com/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85"
@@ -15978,6 +15984,13 @@ minipass@^3.0.0, minipass@^3.1.0, minipass@^3.1.1, minipass@^3.1.3, minipass@^3.
1597815984
dependencies:
1597915985
yallist "^4.0.0"
1598015986

15987+
minipass@^4.0.0:
15988+
version "4.0.0"
15989+
resolved "https://registry.yarnpkg.com/minipass/-/minipass-4.0.0.tgz#7cebb0f9fa7d56f0c5b17853cbe28838a8dbbd3b"
15990+
integrity sha512-g2Uuh2jEKoht+zvO6vJqXmYpflPqzRBT+Th2h01DKh5z7wbY/AZ2gCQ78cP70YoHPyFdY30YBV5WxgLOEwOykw==
15991+
dependencies:
15992+
yallist "^4.0.0"
15993+
1598115994
minizlib@^1.3.3:
1598215995
version "1.3.3"
1598315996
resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d"
@@ -21321,7 +21334,7 @@ tar@^6.0.2, tar@^6.1.0, tar@^6.1.11, tar@^6.1.2:
2132121334
dependencies:
2132221335
chownr "^2.0.0"
2132321336
fs-minipass "^2.0.0"
21324-
minipass "^4.0.0"
21337+
minipass "^3.0.0"
2132521338
minizlib "^2.1.1"
2132621339
mkdirp "^1.0.3"
2132721340
yallist "^4.0.0"

0 commit comments

Comments
 (0)