![]() However, if you want to install your project's dependencies but don't need to use Electron functionality, you can set the ELECTRON_SKIP_BINARY_DOWNLOAD environment variable to prevent the binary from being downloaded. Because this binary is crucial to the function of any Electron app, it is downloaded by default in the postinstall step every time you install electron from the npm registry. ![]() Under the hood, Electron's JavaScript API binds to a binary that contains its implementations. ![]() 17.2 postinstall /Users/yuhaidong /studying/electron /my-electron-app/node_modules /core -js 安装electron。 npm install -save-dev electron
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |