主进程mainjs中webPreferences: {
nodeIntegration: true, // 集成node环境,让渲染进程可以使用node模块
contextIsolation: false, //保护原型污染
enableRemoteModule: true, // 使用remote模块S
}
都使用了还是不行,听别人说是禁止使用了,如果是这样的话那还有其他办法吗
问题已经解决,可以看我的这篇文章:https://blog.csdn.net/gfhj778/article/details/120095424