@lavilas/codex 1.3.72-beta.3 → 1.3.72-beta.6
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/codex.js +3 -3
- package/package.json +7 -7
package/bin/codex.js
CHANGED
|
@@ -29,12 +29,12 @@ const { platform, arch } = process;
|
|
|
29
29
|
const targetTriple = resolveTargetTriple(platform, arch);
|
|
30
30
|
|
|
31
31
|
if (!targetTriple) {
|
|
32
|
-
throw new Error(
|
|
32
|
+
throw new Error(`Неподдерживаемая платформа: ${platform} (${arch})`);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
const platformPackage = PLATFORM_PACKAGE_BY_TARGET[targetTriple];
|
|
36
36
|
if (!platformPackage) {
|
|
37
|
-
throw new Error(
|
|
37
|
+
throw new Error(`Неподдерживаемая целевая платформа: ${targetTriple}`);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
const codexBinaryName = getCodexBinaryName(process.platform);
|
|
@@ -55,7 +55,7 @@ if (!selectedInstallation) {
|
|
|
55
55
|
const packageManager = detectPackageManager({ installDir: __dirname });
|
|
56
56
|
const updateCommand = updateCommandForPackageManager(packageManager);
|
|
57
57
|
throw new Error(
|
|
58
|
-
|
|
58
|
+
`Не найдена платформенная зависимость ${platformPackage}. Переустановите Lavilas Codex: ${updateCommand}`,
|
|
59
59
|
);
|
|
60
60
|
}
|
|
61
61
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lavilas/codex",
|
|
3
|
-
"version": "1.3.72-beta.
|
|
3
|
+
"version": "1.3.72-beta.6",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"bin": {
|
|
6
6
|
"lavilas": "bin/codex.js"
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
},
|
|
24
24
|
"packageManager": "pnpm@10.29.3+sha512.498e1fb4cca5aa06c1dcf2611e6fafc50972ffe7189998c409e90de74566444298ffe43e6cd2acdc775ba1aa7cc5e092a8b7054c811ba8c5770f84693d33d2dc",
|
|
25
25
|
"optionalDependencies": {
|
|
26
|
-
"@lavilas/codex-linux-x64": "1.3.72-beta.
|
|
27
|
-
"@lavilas/codex-linux-arm64": "1.3.72-beta.
|
|
28
|
-
"@lavilas/codex-darwin-x64": "1.3.72-beta.
|
|
29
|
-
"@lavilas/codex-darwin-arm64": "1.3.72-beta.
|
|
30
|
-
"@lavilas/codex-win32-x64": "1.3.72-beta.
|
|
31
|
-
"@lavilas/codex-win32-arm64": "1.3.72-beta.
|
|
26
|
+
"@lavilas/codex-linux-x64": "1.3.72-beta.6",
|
|
27
|
+
"@lavilas/codex-linux-arm64": "1.3.72-beta.6",
|
|
28
|
+
"@lavilas/codex-darwin-x64": "1.3.72-beta.6",
|
|
29
|
+
"@lavilas/codex-darwin-arm64": "1.3.72-beta.6",
|
|
30
|
+
"@lavilas/codex-win32-x64": "1.3.72-beta.6",
|
|
31
|
+
"@lavilas/codex-win32-arm64": "1.3.72-beta.6"
|
|
32
32
|
}
|
|
33
33
|
}
|