macOS 26 上运行 Electron 应用时,如果整个系统卡住,可以试试终端执行如下命令:
然后重启系统
#macOS
https://github.com/electron/electron/issues/48311
defaults write -g NSAutoFillHeuristicControllerEnabled -bool false
然后重启系统
#macOS
https://github.com/electron/electron/issues/48311