Skip to content

Commit 03acb58

Browse files
committed
updated node-gyp
1 parent f075fcc commit 03acb58

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Diff for: .github/workflows/build.yml

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070
7171
elif [ "${{ runner.OS }}" = "Windows" ]; then
7272
export CSC_LINK="${{ runner.temp }}/signing_certificate.pfx"
73+
npm config set msvs_version 2017 --global
7374
echo "${{ secrets.WINDOWS_SIGNING_CERTIFICATE_PFX }}" | base64 --decode > "$CSC_LINK"
7475
7576
export CSC_KEY_PASSWORD="${{ secrets.WINDOWS_SIGNING_CERTIFICATE_PASSWORD }}"

Diff for: electron/packager/conf-node-gyp.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
npm install --global node-gyp@6.0.1
3+
npm install --global node-gyp@7.0.0
44

55
if [ "$OSTYPE" = "cygwin" ] || [ "$OSTYPE" = "msys" ]; then
66
npm config set node_gyp "`npm prefix -g`\node_modules\node-gyp\bin\node-gyp.js"

Diff for: yarn.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -6035,7 +6035,7 @@ electron-rebuild@^1.8.6:
60356035
detect-libc "^1.0.3"
60366036
fs-extra "^8.1.0"
60376037
node-abi "^2.11.0"
6038-
node-gyp "^6.0.1"
6038+
node-gyp "^7.0.0"
60396039
ora "^3.4.0"
60406040
spawn-rx "^3.0.0"
60416041
yargs "^14.2.0"
@@ -10027,7 +10027,7 @@ npm-lifecycle@^3.1.2:
1002710027
dependencies:
1002810028
byline "^5.0.0"
1002910029
graceful-fs "^4.1.15"
10030-
node-gyp "^5.0.2"
10030+
node-gyp "^7.0.0"
1003110031
resolve-from "^4.0.0"
1003210032
slide "^1.1.6"
1003310033
uid-number "0.0.6"

0 commit comments

Comments
 (0)