@ahqstore/cli 0.0.1 → 0.0.2
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.
- package/install.js +2 -1
- package/package.json +1 -1
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
|
|