- Include the script's directory path #304. - Exclude Windows-specific instructions on non-Windows OS. - Standardize language across dialogs for consistency. Other supporting changes: - Add script diagnostics data collection from main process. - Document script file storage and execution tamper protection in SECURITY.md. - Remove redundant comment in `NodeReadbackFileWriter`. - Centralize error display for uniformity and simplicity. - Simpify `WindowVariablesValidator` to omit checks when not on the renderer process. - Improve and centralize Electron environment detection. - Use more emphatic language (don't worry) in error messages.
IPC bridging
This module introduces structured and type-safe inter-process communication (IPC) to Electron applications, enhancing the development and maintenance of complex features.
Benefits
- Type safety: Ensures reliable data exchange between processes and prevents runtime errors through enforced type checks in IPC communication.
- Maintainability: Facilitates easy tracking and management of inter-process contracts using defined and clear interfaces.
- Security: Implements the least-privilege principle by defining which members are accessible in proxy objects, enhancing the security of IPC interactions.
- Simplicity: Simplifies IPC calls by abstracting the underlying complexity, providing a more straightforward interface for developers.
- Scalability: Structured IPC management supports effective scaling and reduces the challenges of ad-hoc IPC implementations.