@ahqstore/cli 0.0.1 → 0.0.4

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/install.js +2 -1
  2. package/package.json +6 -6
package/install.js CHANGED
@@ -30,11 +30,12 @@ const arch = process.arch;
30
30
  console.log(`${warn} Checking Architecture`);
31
31
  console.log(`${info} ${arch}`);
32
32
 
33
- if (arch == "x64" || arch == "arm64") {
33
+ if (arch == "x64" || (platform != "win32" && arch == "arm64")) {
34
34
  console.log(`${success} Arch Validated`);
35
35
  } else {
36
36
  console.log(`${errr} Arch Invalid`);
37
37
  console.log("NOT OK");
38
+ console.log("Install using CARGO\ncargo install ahqstore_cli_rs");
38
39
  throw new Error(`Invalid Architecture ${arch}`);
39
40
  }
40
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ahqstore/cli",
3
- "version": "0.0.1",
3
+ "version": "0.0.4",
4
4
  "description": "The AHQ Store CLI",
5
5
  "type": "module",
6
6
  "main": "./src/cli.js",
@@ -12,11 +12,11 @@
12
12
  "postinstall": "node install.js"
13
13
  },
14
14
  "dependencies": {
15
- "@ahqstore/cli-rs-win32-x64": "0.0.1",
16
- "@ahqstore/cli-rs-darwin-x64": "0.0.1",
17
- "@ahqstore/cli-rs-darwin-arm64": "0.0.1",
18
- "@ahqstore/cli-rs-linux-x64": "0.0.1",
19
- "@ahqstore/cli-rs-linux-arm64": "0.0.1",
15
+ "@ahqstore/cli-rs-win32-x64": "0.0.4",
16
+ "@ahqstore/cli-rs-darwin-x64": "0.0.4",
17
+ "@ahqstore/cli-rs-darwin-arm64": "0.0.4",
18
+ "@ahqstore/cli-rs-linux-x64": "0.0.4",
19
+ "@ahqstore/cli-rs-linux-arm64": "0.0.4",
20
20
  "chalk": "^5.3.0"
21
21
  },
22
22
  "keywords": [