Skip to content

Use IPC instead electron.remote#166

Open
waka wants to merge 2 commits intothinreports:mainfrom
waka:use_ipc_for_dialog
Open

Use IPC instead electron.remote#166
waka wants to merge 2 commits intothinreports:mainfrom
waka:use_ipc_for_dialog

Conversation

@waka
Copy link
Copy Markdown

@waka waka commented Apr 13, 2026

What happened

I'm using an Ubuntu environment on WSL2g.
When I launched the editor and tried to open/save the file dialog, it crashed.

image

How to fix

  • Use ipcRenderer and ipcMain
    • remote opens the dialog in the renderer process, so it requires a GPU/GL. Therefore, it results in an error in a WSL2g environment.
    • ipcRenderer opens the dialog in the Main process, so GPU/GL is not required.

@waka
Copy link
Copy Markdown
Author

waka commented Apr 13, 2026

Error: Version 2.7 with arch x64 not found

oh...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant