CzRger 1 year ago
parent
commit
7ca6a434e5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      package.json

+ 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/app && cp ./run-ax-node.sh ./ax-node/run-ax-node.sh",
-    "linux": "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",
+    "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"
   },
   "keywords": [],
   "author": "",