anveesa 0.2.1 → 0.2.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/package.json +1 -1
- package/scripts/install.js +4 -1
package/package.json
CHANGED
package/scripts/install.js
CHANGED
|
@@ -12,7 +12,7 @@ const { execSync } = require('child_process');
|
|
|
12
12
|
|
|
13
13
|
const PACKAGE = require(path.join(__dirname, '..', 'package.json'));
|
|
14
14
|
const REPO = 'pandhuwibowo/anveesa-cli';
|
|
15
|
-
const BIN_DIR = path.join(__dirname, 'bin');
|
|
15
|
+
const BIN_DIR = path.join(__dirname, '..', 'bin');
|
|
16
16
|
|
|
17
17
|
function getPlatformInfo() {
|
|
18
18
|
const platform = process.platform;
|
|
@@ -141,6 +141,9 @@ async function install() {
|
|
|
141
141
|
console.error('');
|
|
142
142
|
console.error('Install Rust: https://rustup.rs/');
|
|
143
143
|
console.error('Then run: npm install -g anveesa');
|
|
144
|
+
console.error('');
|
|
145
|
+
console.error('Or grab a prebuilt binary from:');
|
|
146
|
+
console.error(' https://github.com/pandhuwibowo/anveesa-cli/releases');
|
|
144
147
|
process.exit(1);
|
|
145
148
|
}
|
|
146
149
|
|