Skip to content

Commit d5be0ed

Browse files
authored
fix(loong64): update electron (#2912)
1 parent 702370a commit d5be0ed

3 files changed

Lines changed: 13 additions & 11 deletions

File tree

build/linux/loong64/electron.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
set -ex
44

5-
export ELECTRON_VERSION="39.2.3"
5+
export ELECTRON_VERSION="42.3.0"
66
export VSCODE_ELECTRON_TAG="v${ELECTRON_VERSION}"
Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
d26b2189e7466a08c73861d0225c9b28730fdfc30918f3ea70853b43a2581dc4 *chromedriver-v39.2.3-linux-loong64.zip
2-
8cc36f7468f5b2d98cde3f73c10c535555754c54be43e45c320a382c35b8e466 *electron-v39.2.3-linux-loong64.zip
3-
f6e7462d6fd795ae2b08344ee0fdca817eba148b62a62717b3f512c845d96a64 *ffmpeg-v39.2.3-linux-loong64.zip
4-
b122599dc84b81526ba4eecbca4794f3a2d25300242ad3829d1445cb6948f470 *hunspell-dictionaries.zip
5-
76ef17d2810df5e77c5071863e2a375df914cfb7a362ad0582ee0eedca2441b9 *libcxx-headers.zip
6-
9b61ba9f0780a57ee2749f7963759395784eadcaccc54af313de1a540240298e *libcxx-objects-v39.2.3-linux-loong64.zip
7-
9ae64aff9e391eae401142e55654b5b8cf54d0611b1ecb540f2f4e89a2b4f772 *libcxxabi-headers.zip
8-
7d7e6e08c84aa38b74037f5910534918bc792ffbe2ca6d667067f587f27f5118 *mksnapshot-v39.2.3-linux-loong64.zip
9-
db48f8a9d2271e8b3a1c3f26ea1ae9bd489deb1b464b6ae424a15d5df7529fdc *node-v39.2.3-headers.tar.gz
1+
d79a0b6955a66c75b68e8204c6e619f1217397c57e6ac8041d0d644178f1d2d4 *chromedriver-v42.3.0-linux-loong64.zip
2+
349944821a5b0b96280bd68dcfdfae623152ecaf074c79ac73deab03f9a5f581 *electron-v42.3.0-linux-loong64-debug.zip
3+
6dc3af9e4396f0ee6863c299197018e89cb22b95d48ee55d4838280d27988178 *electron-v42.3.0-linux-loong64-symbols.zip
4+
92b0ca0c9c18ed90166918a4ac1970266c4fa967aee9277031b3b250b905526e *electron-v42.3.0-linux-loong64.zip
5+
1efa327bf004c805c4fbbe723cb98e324bc1bb7b957c196acddae5c7fe7bd67d *ffmpeg-v42.3.0-linux-loong64.zip
6+
7050ac1a2fef9962bb12094cb08cb26c22d70ae8dc0fe6b23c05a7f1380a330f *hunspell-dictionaries.zip
7+
a1f1483a02250e5add3d1957466a6936510c41ed9bc9011a5adc6cad8b8590e3 *libcxx-headers.zip
8+
01176a11233dd00913929217a495958d1f0c54c682b2ce25609a76756602356f *libcxx-objects-v42.3.0-linux-loong64.zip
9+
da3c0c2dc5522066522bb48bf33d3a1e691fa683e301951626256c7729cc903b *libcxxabi-headers.zip
10+
c0b0a28c6c6e648f1850e7925e888e3e47d30024972673ca42ae87a21e55d64e *mksnapshot-v42.3.0-linux-loong64.zip
11+
285692ab65685424574bdf8264c78898c51a5172588ad7c2f3285ac346d3dfcd *node-v42.3.0-headers.tar.gz

build/linux/package_bin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ if [[ -f "../build/linux/${VSCODE_ARCH}/electron.sh" ]]; then
5757
# shellcheck disable=SC1090
5858
source "../build/linux/${VSCODE_ARCH}/electron.sh"
5959

60-
TARGET=$( npm config get target )
60+
TARGET=$( grep -Eo '[0-9]+\.[0-9]+\.[0-9]+' build/lib/electron.ts )
6161

6262
# Only fails at different major versions
6363
if [[ "${ELECTRON_VERSION%%.*}" != "${TARGET%%.*}" ]] && [[ "${IGNORE_ELECTRON_VERSION}" != "yes" ]]; then

0 commit comments

Comments
 (0)