From 5071e82e1c94f284b3b882547e697b21d00b1a6f Mon Sep 17 00:00:00 2001 From: pan93412 Date: Wed, 5 Jan 2022 20:14:08 +0800 Subject: [PATCH] build: degrade electron to 13.0.1 Seems like Electron 13.6 breaks the Windows 7 support. We degrade Electron's version to what 0.4.2 uses. Related: #1179 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index eb936ac..145d9f0 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "dayjs": "^1.8.36", "dexie": "^3.0.3", "discord-rich-presence": "^0.0.8", - "electron": "^13.0.1", + "electron": "~13.0.1", "electron-builder": "^22.10.5", "electron-context-menu": "^2.3.0", "electron-debug": "^3.1.0", diff --git a/yarn.lock b/yarn.lock index 4df813a..f8af82a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4794,10 +4794,10 @@ electron-updater@^4.3.5: lodash.isequal "^4.5.0" semver "^7.3.4" -electron@^13.0.1: - version "13.6.3" - resolved "https://registry.yarnpkg.com/electron/-/electron-13.6.3.tgz#c0217178807d3e0b2175c49dbe33ea8dac447e73" - integrity sha512-kevgR6/RuEhchJQbgCKhHle9HvJhi2dOJlicFZJqbbqa9BVpZARqqFDlwTSatYxmUPUJwu09FvyMwJG2DMQIng== +electron@~13.0.1: + version "13.0.1" + resolved "https://registry.yarnpkg.com/electron/-/electron-13.0.1.tgz#7dd3666f0f966ab83a1f9868d84add2e6205d43a" + integrity sha512-ds1cf0m46nStil0jbM2r9W/p+Kprdq22+2MikIUqEu69eGl1c86IinQVrpmJ9bR4RshDSF4j3uD32a0bsHDMnQ== dependencies: "@electron/get" "^1.0.1" "@types/node" "^14.6.2"