Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
问一个问题,electron如何封装命令,比如用户执行“test-cli”命令,然后在主进程中调用一个js,封装后主进程中的js不会暴露出来。这个功能如何实现?