Skip to content

Commit 791f4aa

Browse files
Downgrade to Electron 38.7 and simplify entitlements for macOS performance
- Downgrade from Electron 40.0.0 to 38.6.0 (installed 38.7.2) - Remove unnecessary entitlements that may cause extra macOS security validation: - com.apple.security.cs.allow-unsigned-executable-memory - com.apple.security.cs.disable-library-validation - com.apple.security.cs.disable-executable-page-protection - Keep only required entitlements: - com.apple.security.cs.allow-jit (required for V8 JavaScript) - com.apple.security.automation.apple-events (required for automation) These changes aim to fix slow click performance on macOS 26 Tahoe by: 1. Using more stable Electron version with macOS Tahoe fixes 2. Reducing security validation overhead on user interactions
1 parent bacf275 commit 791f4aa

File tree

3 files changed

+16
-29
lines changed

3 files changed

+16
-29
lines changed

electron-app/src/entitlements.plist

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@
44
<dict>
55
<key>com.apple.security.cs.allow-jit</key>
66
<true/>
7-
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
8-
<true/>
9-
<key>com.apple.security.cs.disable-library-validation</key>
10-
<true/>
11-
<key>com.apple.security.cs.disable-executable-page-protection</key>
12-
<true/>
137
<key>com.apple.security.automation.apple-events</key>
148
<true/>
159
</dict>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
"broccoli-asset-rev": "^3.0.0",
141141
"concurrently": "^9.2.1",
142142
"cross-env": "^10.1.0",
143-
"electron": "^40.0.0",
143+
"electron": "^38.6.0",
144144
"ember-auto-import": "^2.12.0",
145145
"ember-cli": "^6.10.0",
146146
"ember-cli-babel": "^8.2.0",

pnpm-lock.yaml

Lines changed: 15 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)