1, 安裝 npm http://nodejs.cn/download/ 下載安裝對應版本的,這裏是
node-v16.16.0-win-x64.zip
2,全局安裝cnpm
npm install cnpm -g --registry=http://registry.npm.taobao.org
3, 編譯示例工程 git clone https://github.com/electron/electron-quick-start
cd electron-quick-start
npm config set ELECTRON_MIRROR http://npm.taobao.org/mirrors/electron/
npm install
npm start
會出現 hello world
4, ZY-Player-master
git clone https://github.com/Hunlongyu/ZY-Player.git
cd ZY-Player
npm install
npm run release
win-unpacked 是原始的未打包的,也能直接運行。