只要设置一些系统环境变量,你就可以通过 npm 直接安装原生模块。 为Electron 安装所有依赖项的一个例子: # Electron 的版本。 export npm_config_target=1.2.3 ...
確定! 回上一頁