Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
heavyrain2012 committed Dec 16, 2019
1 parent 35b5b36 commit 0d59a63
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,29 @@ $ npm run dev

> mac下能打包出windows版本和mac版本。windows下只能打包出windows版本
#### linux系统

##### 环境准备

> 请严格安装下面的版本安装对应依赖,否则无法打包
1. nodejs10.16.X
2. python2.7X

##### 开发

```
$ cp proto_addon/marswrapper.mac.node marswrapper.node
$ npm install
$ npm run dev
```

##### 打包

1. ```npm install``` 安装依赖
2. ```npm run package-linux``` 打包linux版本,软件生成在release目录下


##### 常见问题
windows上需要严格按照环境进行安装,mac上环境比较简单一些,安装node和node-gyp就可以了
另外如果还有问题,请试试命令```npm cache clean --force ```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wildfireChat",
"version": "0.2.8",
"version": "0.3.0",
"description": "WildfireChat client built with React, MobX and Electron.",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit 0d59a63

Please sign in to comment.