@aptos-labs/aptos-cli 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/aptos +3 -1
  2. package/package.json +1 -1
package/bin/aptos CHANGED
@@ -96,8 +96,10 @@ const main = async () => {
96
96
  } catch (e) {
97
97
  path = "";
98
98
  }
99
- } else {
99
+ } else if (os === "Windows") {
100
100
  path = `${__dirname}\\${PNAME}.exe`;
101
+ } else {
102
+ path = `${__dirname}/${PNAME}`;
101
103
  }
102
104
 
103
105
  // If binary does not exist, download it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptos-labs/aptos-cli",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Aptos CLI available from npmjs",
5
5
  "bin": {
6
6
  "aptos": "bin/aptos"