chore: add deprecated app.runningUnderRosettaTranslation to breaking-changes.md (#39897)

chore: add deprecated app.runningUnderRosettaTranslation to breaking-changes.md
This commit is contained in:
Milan Burda 2023-09-26 19:42:56 +02:00 committed by GitHub
parent 943bfa89ce
commit fa215f1009
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -716,6 +716,18 @@ to open synchronously scriptable child windows, among other incompatibilities.
See the documentation for [window.open in Electron](api/window-open.md)
for more details.
### Deprecated: `app.runningUnderRosettaTranslation`
The `app.runningUnderRosettaTranslation` property has been deprecated.
Use `app.runningUnderARM64Translation` instead.
```js
// Deprecated
console.log(app.runningUnderRosettaTranslation)
// Replace with
console.log(app.runningUnderARM64Translation)
```
## Planned Breaking API Changes (14.0)
### Removed: `remote` module