DWQA QuestionsCategory: Development ToolCan reading the local file in the electronic rendering process get the absolute path?
Xiang Hao Liu asked 1 month ago

I want to read the file in the rendering process. At present, I consider using H5 API directly in the rendering process, but I need to get the absolute path. I don’t know if there is a solution. Another implementation is to use IPC mechanism to communicate with the main process.

1 Answers
Xiang Hao Liu answered 1 month ago

Electron creates, reads, deletes, selects and saves filesWebsite

Xiang Hao Liu replied 1 month ago

Can you give me a specific description of your needs? Including the use environment.