Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (21 sloc) 469 Bytes
layout title tags category keywords
post
electron 学习笔记
blog
node
electron

全局安装 electron

tnpm install -g electron-prebuilt -d
tnpm install -g electron-package
tnpm install -g electron

使用淘宝镜像

export ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/

构建命令

DEBUG=electron-download electron-packager ./ appname --platform=darwin --arch=x64 --version=1.2.2 --overwrite