Skip to content

Commit

Permalink
fix(desktop): Apple M1 open and build failed on development (#1251)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackHole1 authored Dec 28, 2021
1 parent 56e8fb8 commit 70a6ef1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion desktop/main-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"cross-env": "^7.0.3",
"dotenv-flow": "^3.2.0",
"dotenv-flow-webpack": "^1.1.0",
"electron": "11.3.0",
"electron": "12.0.15",
"electron-builder": "^22.10.5",
"electron-devtools-vendor": "^1.0.2",
"electron-notarize": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion desktop/renderer-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"css-loader": "^5.2.4",
"dotenv-flow": "^3.2.0",
"dotenv-flow-webpack": "^1.1.0",
"electron": "11.3.0",
"electron": "12.0.15",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^6.0.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/init-agora-configure/agora-electron-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const agoraSdkOptions = {
arch: process.platform === "win32" ? "ia32" : "x64",
platform: process.platform === "win32" ? "win32" : "darwin",
electron_version: "11.0.0",
electron_version: "12.0.0",
msvs_version: "2017",
silent: false,
debug: false,
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3263,16 +3263,16 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.17.13.tgz#ccebcdb990bd6139cd16e84c39dc2fb1023ca90c"
integrity sha512-pMCcqU2zT4TjqYFrWtYHKal7Sl30Ims6ulZ4UFXxI4xbtQqK/qqKwkDoBFCfooRqqmRu9vY3xaJRwxSh673aYg==

"@types/node@^12.0.12":
version "12.20.19"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.19.tgz#538e61fc220f77ae4a4663c3d8c3cb391365c209"
integrity sha512-niAuZrwrjKck4+XhoCw6AAVQBENHftpXw9F4ryk66fTgYaKQ53R4FI7c9vUGGw5vQis1HKBHDR1gcYI/Bq1xvw==

"@types/node@^14.0.10":
version "14.17.9"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.9.tgz#b97c057e6138adb7b720df2bd0264b03c9f504fd"
integrity sha512-CMjgRNsks27IDwI785YMY0KLt3co/c0cQ5foxHYv/shC2w8oOnVwz5Ubq1QG5KzrcW+AXk6gzdnxIkDnTvzu3g==

"@types/node@^14.6.2":
version "14.18.3"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.3.tgz#b3682cfd9d5542b025df13233d073cb4347f63f3"
integrity sha512-GtTH2crF4MtOIrrAa+jgTV9JX/PfoUCYr6MiZw7O/dkZu5b6gm5dc1nAL0jwGo4ortSBBtGyeVaxdC8X6V+pLg==

"@types/node@^15.0.3":
version "15.14.7"
resolved "https://registry.yarnpkg.com/@types/node/-/node-15.14.7.tgz#29fea9a5b14e2b75c19028e1c7a32edd1e89fe92"
Expand Down Expand Up @@ -7214,13 +7214,13 @@ electron-updater@^4.3.8:
lodash.isequal "^4.5.0"
semver "^7.3.5"

electron@11.3.0:
version "11.3.0"
resolved "https://registry.yarnpkg.com/electron/-/electron-11.3.0.tgz#87e8528fd23ae53b0eeb3a738f1fe0a3ad27c2db"
integrity sha512-MhdS0gok3wZBTscLBbYrOhLaQybCSAfkupazbK1dMP5c+84eVMxJE/QGohiWQkzs0tVFIJsAHyN19YKPbelNrQ==
electron@12.0.15:
version "12.0.15"
resolved "https://registry.yarnpkg.com/electron/-/electron-12.0.15.tgz#d1a50f2037bdf163c5a3df6fe9beabb0b6bb4d37"
integrity sha512-JyhYJkj4BD0YPii8gTcYmTTBbHPomCtEKt9/OfoezAhc1scTDP+yZkAfBJrlgVFh0IYmyuesdQzuNEohSdz6Wg==
dependencies:
"@electron/get" "^1.0.1"
"@types/node" "^12.0.12"
"@types/node" "^14.6.2"
extract-zip "^1.0.3"

element-resize-detector@^1.2.2:
Expand Down

0 comments on commit 70a6ef1

Please sign in to comment.