All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Simplified the `isElectron` function to directly return the result of `isElectrobunBridgeReady` or `isElectrobunDesktop`. - Removed redundant checks and consolidated URL opening logic to enhance clarity and reduce code duplication. - Updated event handling for Electron-specific features to utilize the desktopBridge API, improving maintainability and performance.