@skillicinski/bo 0.1.0 → 0.2.1
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 +4 -4
- package/package.json +2 -2
package/install.js
CHANGED
|
@@ -8,9 +8,9 @@ const pkg = require('./package.json');
|
|
|
8
8
|
const version = pkg.version;
|
|
9
9
|
|
|
10
10
|
const PLATFORM_MAP = {
|
|
11
|
-
'darwin-x64': '
|
|
12
|
-
'darwin-arm64': '
|
|
13
|
-
'linux-x64': '
|
|
11
|
+
'darwin-x64': 'darwin-amd64',
|
|
12
|
+
'darwin-arm64': 'darwin-arm64',
|
|
13
|
+
'linux-x64': 'linux-amd64',
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
const key = `${process.platform}-${process.arch}`;
|
|
@@ -19,7 +19,7 @@ const target = PLATFORM_MAP[key];
|
|
|
19
19
|
if (!target) {
|
|
20
20
|
console.error(
|
|
21
21
|
`bo doesn't provide a pre-built binary for ${process.platform}-${process.arch}. ` +
|
|
22
|
-
`Build from source:
|
|
22
|
+
`Build from source: go install github.com/skillicinski/bo/cmd/bo@latest`,
|
|
23
23
|
);
|
|
24
24
|
process.exit(0);
|
|
25
25
|
}
|
package/package.json
CHANGED