@omnifyjp/omnify 0.1.2 → 0.1.3
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/bin/omnify +6 -6
- package/package.json +1 -1
package/bin/omnify
CHANGED
|
@@ -4,11 +4,11 @@ const { spawnSync } = require("child_process");
|
|
|
4
4
|
const path = require("path");
|
|
5
5
|
|
|
6
6
|
const PLATFORM_MAP = {
|
|
7
|
-
"darwin-arm64": "@
|
|
8
|
-
"darwin-x64": "@
|
|
9
|
-
"linux-x64": "@
|
|
10
|
-
"linux-arm64": "@
|
|
11
|
-
"win32-x64": "@
|
|
7
|
+
"darwin-arm64": "@omnifyjp/omnify-darwin-arm64",
|
|
8
|
+
"darwin-x64": "@omnifyjp/omnify-darwin-x64",
|
|
9
|
+
"linux-x64": "@omnifyjp/omnify-linux-x64",
|
|
10
|
+
"linux-arm64": "@omnifyjp/omnify-linux-arm64",
|
|
11
|
+
"win32-x64": "@omnifyjp/omnify-win32-x64",
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
const platformKey = `${process.platform}-${process.arch}`;
|
|
@@ -31,7 +31,7 @@ try {
|
|
|
31
31
|
console.error(
|
|
32
32
|
`Could not find omnify binary for ${platformKey}.\n` +
|
|
33
33
|
`Expected package: ${pkg}\n` +
|
|
34
|
-
`Try reinstalling: npm install -
|
|
34
|
+
`Try reinstalling: npm install -D @omnifyjp/omnify`
|
|
35
35
|
);
|
|
36
36
|
process.exit(1);
|
|
37
37
|
}
|