laiguoran 7 سال پیش
والد
کامیت
02565c1f82
1فایلهای تغییر یافته به همراه13 افزوده شده و 5 حذف شده
  1. 13 5
      README.md

+ 13 - 5
README.md

@@ -4,22 +4,30 @@
 
 #### Build Setup
 
+#### 必须使用32位的node才能运行,且只适用于Window 7 以上版本
+
 ``` bash
 # install dependencies
-npm install
+yarn
+
+# 运行该代码执行rebuild
+yarn run rebuild-ffi
+
+# 启动node原生功能
+.\node_modules\.bin\electron-rebuild.cmd
 
 # serve with hot reload at localhost:9080
-npm run dev
+yarn run dev
 
 # build electron application for production
-npm run build
+yarn run build
 
 # run unit & end-to-end tests
-npm test
+yarn test
 
 
 # lint all JS/Vue component files in `src/`
-npm run lint
+yarn run lint
 
 ```