Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Downgrade electron to 11.2.3
Browse files Browse the repository at this point in the history
Summary:
Downgrade electron to 11.2.3 to work-around performance problems described in #2173.

Changelog: Electron downgraded to v11.2.3 to work-around performance issues on MacOS Big Sur

Reviewed By: passy

Differential Revision: D27732746

fbshipit-source-id: cec187f47ac5b734c33f3e6eecc5cf0b03d76c1a
  • Loading branch information
nikoant authored and facebook-github-bot committed Apr 13, 2021
1 parent 5b0f7e8 commit 576afd3
Show file tree
Hide file tree
Showing 2 changed files with 114 additions and 577 deletions.
6 changes: 3 additions & 3 deletions desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
"cross-env": "^7.0.3",
"detect-port": "^1.1.1",
"dotenv": "^8.2.0",
"electron": "12.0.1",
"electron": "11.2.3",
"electron-builder": "22.10.5",
"eslint": "^7.23.0",
"eslint-config-fbjs": "^3.1.1",
Expand Down Expand Up @@ -199,7 +199,7 @@
"resolutions": {
"**/metro/**/temp": "0.9.0",
"**/metro/**/ws": "1.1.5",
"@jest-runner/electron/electron": "12.0.1",
"@jest-runner/electron/electron": "11.2.3",
"@types/react": "17.0.3",
"@types/react-dom": "17.0.3",
"acorn": "7.1.1",
Expand Down Expand Up @@ -230,7 +230,6 @@
"lint": "yarn lint:eslint && yarn lint:tsc && yarn tsc-plugins",
"lint:eslint": "eslint . --ext .js,.ts,.tsx",
"lint:tsc": "tsc --noemit",
"tsc-plugins": "./ts-node scripts/tsc-plugins.ts",
"list-plugins": "./ts-node scripts/list-plugins.ts",
"open-dist": "open ../dist/mac/Flipper.app --args --launcher=false --inspect=9229",
"postinstall": "patch-package && ./ts-node scripts/gen-type-index.ts && yarn --cwd plugins install --mutex network:30331 && yarn build:tsc && ./ts-node scripts/generate-plugin-entry-points.ts && yarn build:themes",
Expand All @@ -256,6 +255,7 @@
"test-electron": "yarn build:tsc && jest --testMatch=\"**/**.electron\\.(js|jsx|ts|tsx)\" --testEnvironment=@jest-runner/electron/environment --runner=@jest-runner/electron",
"test-with-device": "yarn build:tsc && USE_ELECTRON_STUBS=1 jest --testMatch=\"**/**.device\\.(js|jsx|ts|tsx)\" --detectOpenHandles",
"test:debug": "yarn build:tsc && node --inspect node_modules/.bin/jest --runInBand",
"tsc-plugins": "./ts-node scripts/tsc-plugins.ts",
"watch": "node --expose-gc ./node_modules/.bin/jest --watch"
},
"version": "0.84.0",
Expand Down
Loading

1 comment on commit 576afd3

@vomchik
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 😎

Please sign in to comment.