diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..2e29a4e --- /dev/null +++ b/.npmignore @@ -0,0 +1,2 @@ +# Ignore the tau submodule +tau/ \ No newline at end of file diff --git a/index.js b/index.js index c4d757e..a0af49b 100755 --- a/index.js +++ b/index.js @@ -9,7 +9,7 @@ const tar = require("tar"); const packageJson = require("./package.json"); const binaryDir = path.join(__dirname, "bin"); -const binaryPath = path.join(binaryDir, "dream"); +const binaryPath = path.join(binaryDir, process.platform === "win32" ? "dream.exe" : "dream"); const versionFilePath = path.join(binaryDir, "version.txt"); const packageVersion = packageJson.version; diff --git a/package.json b/package.json index ed79852..0bba65d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@taubyte/dream", - "version": "1.1.0", + "version": "1.1.1", "description": "Node wrapper for taubyte/dream", "bin": { "dream": "./index.js"