소스 검색

启动命令

CzRger 1 년 전
부모
커밋
6b747e6b18
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      package.json
  2. 2 0
      run-ax-node.sh

+ 2 - 2
package.json

@@ -6,8 +6,8 @@
   "main": "index.js",
   "scripts": {
     "test": "echo \"Error: no test specified\" && exit 1",
-    "win": "pkg ./src/app.js -t win -o ax-node",
-    "linux": "pkg ./src/app.js -t linux -o ax-node"
+    "win": "pkg ./src/app.js -t win -o ax-node/app",
+    "linux": "pkg ./src/app.js -t linux -o ax-node/app"
   },
   "keywords": [],
   "author": "",

+ 2 - 0
run-ax-node.sh

@@ -0,0 +1,2 @@
+chmod u+x app
+nohup ./app > ax-node.log 2>&1 &