Skip to content

Commit

Permalink
fixed dream path on windows (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
samyfodil authored Dec 2, 2024
1 parent 70341a1 commit 8aa31b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Ignore the tau submodule
tau/
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 8aa31b6

Please sign in to comment.