【发布时间】:2021-11-16 12:17:37
【问题描述】:
【问题讨论】:
标签: javascript node.js reactjs electron
【问题讨论】:
标签: javascript node.js reactjs electron
尝试使用shell
const {shell} = require('electron')
shell.openPath('folderpath')
这里是 shell 文档https://github.com/electron/electron/blob/main/docs/api/shell.md
【讨论】: