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": {