Skip to content

Commit 28dd6ec

Browse files
author
谢英杰
committed
chore: update dist-url
1 parent 2038f8a commit 28dd6ec

2 files changed

Lines changed: 6 additions & 42 deletions

File tree

package-lock.json

Lines changed: 1 addition & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@
5858
]
5959
},
6060
"scripts": {
61-
"build": "node-gyp rebuild --target=22.3.13 --dist-url https://npm.taobao.org/mirrors/electron",
62-
"build:arm64": "node-gyp rebuild --target=22.3.13 -target_arch=arm64 --dist-url https://npm.taobao.org/mirrors/electron",
63-
"build:ia32": "node-gyp rebuild --target=22.3.13 -target_arch=ia32 --dist-url https://npm.taobao.org/mirrors/electron",
61+
"build": "node-gyp rebuild --target=22.3.13 --dist-url https://electronjs.org/headers",
62+
"build:arm64": "node-gyp rebuild --target=22.3.13 -target_arch=arm64 --dist-url https://electronjs.org/headers",
63+
"build:ia32": "node-gyp rebuild --target=22.3.13 -target_arch=ia32 --dist-url https://electronjs.org/headers",
6464
"build:node": "node-gyp rebuild --target=16.17.1 --target_arch=x64",
65-
"build:x64": "node-gyp rebuild --target=22.3.13 -target_arch=x64 --dist-url https://npm.taobao.org/mirrors/electron",
66-
"configure": "node-gyp configure --target=22.3.13 --dist-url https://npm.taobao.org/mirrors/electron --python /usr/local/bin/python3 -- -f xcode",
65+
"build:x64": "node-gyp rebuild --target=22.3.13 -target_arch=x64 --dist-url https://electronjs.org/headers",
66+
"configure": "node-gyp configure --target=22.3.13 --dist-url https://electronjs.org/headers --python /usr/local/bin/python3 -- -f xcode",
6767
"publish_to_sfnpm": "npm publish --registry=https://artifactory.sf-express.com/artifactory/api/npm/npm/",
6868
"pretest": "node test/support/createdb.js",
6969
"test": "mocha -R spec --timeout 480000"

0 commit comments

Comments
 (0)