Tags: electron/remote
Tags
fix: senderId removed in Electron 28 (#171) * Accepting ipc events without senderId Since the property has been removed with Electron 28 * Access senderId on cast event object to be compatible with Electron 28, where "senderId" is removed from IpcRendererEvent * fix type error * Implement interface for missing senderId check * replace process.mainModule with a while loop to get the topmost parent * disable test using removed APIs * split the codepaths for electron 28 and electron < 28 * prefix comment for skipped test with TODO * chore: formatting --------- Co-authored-by: Jeremy Rose <[email protected]> Co-authored-by: Kilian Valkhof <[email protected]> Co-authored-by: David Sanders <[email protected]>
fix: `metaToValue` get null value (#151) * fix: metaTovalue get null value * Update src/renderer/remote.ts Co-authored-by: Erick Zhao <[email protected]> --------- Co-authored-by: Erick Zhao <[email protected]>
fix: prevent checking isDesktopCapturerEnabled, which crashes on elec… …tron@26 (#154) * Avoid crash with electron 26 Not sure of the side effects of this * Checking isDesktopCapturerEnabled is no longer necessary or possible. Fixes #153 Context electron/electron#38412 * Revert to checking isDesktopCapturerEnabled for pre-26 electron versions
fix: types for nativeImage, webContents, webFrameMain again (#111) * fix: types for nativeImage, webContents, webFrameMain again Fixes #110. Signed-off-by: Anders Kaseorg <[email protected]> * ci: Remove Electron 11 ShareMenu and webFrameMain are new in Electron 12. Signed-off-by: Anders Kaseorg <[email protected]> * fix: Remove exclusion of index.d.ts from tsconfig This was previously excluded (#48) because of CI failures due to index.d.ts referencing files in dist. Those references were later removed (#58), so we can include it again to have CI verify that index.d.ts type checks. Signed-off-by: Anders Kaseorg <[email protected]>
PreviousNext