From a0a9aac00ce54a94d1497a7a3bdd7a0cd9b69317 Mon Sep 17 00:00:00 2001 From: abdfnx Date: Sun, 8 May 2022 13:52:00 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=99=84=20more=20fixes=20for=20botway=20np?= =?UTF-8?q?m=20installer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- npm-installer/postinstall.js | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/npm-installer/postinstall.js b/npm-installer/postinstall.js index d081d068..dcfcafa6 100755 --- a/npm-installer/postinstall.js +++ b/npm-installer/postinstall.js @@ -52,7 +52,7 @@ async function install() { const zipFile = "botway.zip"; - await fs.mkdir(binPath, { recursive: true }); + // await fs.mkdir(binPath, { recursive: true }); await pipeline(response.body, createWriteStream(zipFile)); const zip = new StreamZip.async({ file: zipFile }); diff --git a/package.json b/package.json index 9f918dd1..a253ea99 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "botway", - "version": "0.1.0-beta.31", + "version": "0.1.0-beta.32", "description": "🤖 Generate, build, handle and deploy your own bot with your favorite language, for Discord, or Telegram, or Slack.", "type": "module", "author": "abdfnx", @@ -20,6 +20,7 @@ "postinstall": "node ./npm-installer/postinstall.js" }, "files": [ + "bin", "npm-installer" ], "dependencies": {