Clipboard writes are awaited because clipboard.writeText returns a Promise since Electron 44. Preloads only load electron, so the removed sandbox shims in Electron 45 do not apply; the synchronous safeStorage API is deprecated but still available. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
469a1fd8b5
commit
909149bd64
3 files changed
+9
-9
No files matched your search
+1
-1
@@ -18,7 +18,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@modelcontextprotocol/sdk": "1.32.1",
|
||||
"electron": "^42.11.12",
|
||||
"electron": "^45.0.0",
|
||||
"electron-builder": "^26.15.3",
|
||||
"eslint": "^10.8.1",
|
||||
"eslint-plugin-security": "^4.0.1",
|
||||
|
||||
Reference in new issue
Block a user