在下载和运行这个项目之前,你需要在电脑上安装Git和Node.js (来自npm)。在命令行中输入:
# 下载仓库
git clone https://github.com/geeeeeeeeek/electronic-wechat.git
# 进入仓库
sudo apt-get install npm
sudo apt-get install nodejs-legacy
cd electronic-wechat
# 安装依赖, 运行应用
npm install
npm start
根据你的平台打包应用:
npm run build:osx
npm run build:linux
npm run build:win
/////
1.下载仓库
git clone https://github.com/geeeeeeeeek/electronic-wechat.git
- 1
2.安装 git
sudo apt-get install git
- 1
3.安装 nodejs
sudo apt-get install nodejs
sudo apt-get install npm
sudo apt-get install node
sudo apt-get install nodejs-legacy
- 1
- 2
- 3
- 4
4.进入到下载的wechat的目录
每个人的下载安装路径都是不一样的,你根据自己下载的路劲进入到对应的文件夹
第一次启动的时候,安装依赖,运行程序
npm install && npm start
- 1
之后要启动wechat 的时候我们只需要,进入到相应的目录electronic-wechat运行程序即可:
e.g.
cd electronic-wechat
npm start
- 1
- 2
这样我们的微信就安装好了