# bash
export ELECTRON_MIRROR=https://cdn.npm.taobao.org/dist/electron/
yarn start
yarn build:prod
yarn pack:prod
yarn icons
react
和react-dom
等放到dependencies里会导致最终体积比较大,所以直接用webpack打包
mac下electron-builder必须进行签名,参考code-signing和Electron 打包Mac安装包代码签名问题解决方案
- typescript !. see