-
### Preflight Checklist
- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct]…
-
#### Found an issue or bug with electron-vue? Tell me all about it!
Questions regarding how to use `electron` or `vue` are likely to be closed as they are not direct issues with this boilerplate. Ple…
-
As the title says the on method of electron-better-ipcs ipcRenderer only gets called once and the original on get called every time a message is sent.
```
// Renderer
ipcRenderer.on("channel", cons…
-
I exposed openDirectory on Main and preload.ts but my frontend is complain that ts: Property 'openDirectory' does not exist on type '{ ipcRenderer: { send: (channel: string, ...args: any[]) => void; }…
-
在渲染进程中像这样调用
```js
const { ipcRenderer } = require("electron")
```
或者这这样调用
```js
import { ipcRenderer } from "electron"
```
报错
```
TypeError: fs.existsSync is not a function
```
-
### Preflight Checklist
- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct]…
-
### Preflight Checklist
* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Condu…
-
### Preflight Checklist
* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Condu…
-
### Sharing data between Electron windows?
Hello, In Electron the renderer windows can only communicate with the main window.
I tried passing
const mainInternals = getInternals();
…
-
I now found out, that `nodeIntegration: true` can be disabled by using a preload script:
```js
const { ipcRenderer, contextBridge } = require("electron");
const electron = {
ipcRenderer: {
…