CzRger 1 year ago
parent
commit
8e5ffe3ecf
2 changed files with 3 additions and 3 deletions
  1. 2 2
      package.json
  2. 1 1
      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": "rm -rf ./ax-node && pkg ./src/app.js -t win -o ./ax-node/app && cp ./run-ax-node.sh ./ax-node/run-ax-node.sh",
-    "linux": "rm -rf ./ax-node && pkg ./src/app.js -t linux -o ./ax-node/app && cp ./run-ax-node.sh ./ax-node/run-ax-node.sh"
+    "win": "rm -rf ./ax-node && pkg ./src/app.js -t win -o ./ax-node/app && cp ./run-ax-node.sh ./ax-node/run-ax-node.sh && cp ./config.json ./ax-node/config.json",
+    "linux": "rm -rf ./ax-node && pkg ./src/app.js -t linux -o ./ax-node/app && cp ./config.json ./ax-node/config.json"
   },
   "keywords": [],
   "author": "",

+ 1 - 1
run-ax-node.sh

@@ -1,3 +1,3 @@
-sleep 10
+sleep 5
 chmod u+x ./app
 nohup ./app > ax-node.log 2>&1 &