mercury-tech-cli 1.0.0-beta.2.1 → 1.0.0-beta.4
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/README.md +1 -1
- package/bin/mercury.js +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
package/bin/mercury.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict'
|
|
3
3
|
// mercury-tech-cli — the `mercury` command from npm or bun, on macOS (Apple
|
|
4
|
-
// silicon), Linux x64 and Windows x64.
|
|
4
|
+
// silicon and Intel), Linux x64 and Windows x64.
|
|
5
5
|
//
|
|
6
6
|
// Mercury runs on its own bundled runtime, never on npm's or bun's engine, so
|
|
7
7
|
// this launcher only fetches: on first run it downloads the release archive
|
|
@@ -25,7 +25,7 @@ const path = require('node:path')
|
|
|
25
25
|
const crypto = require('node:crypto')
|
|
26
26
|
const { spawn, spawnSync } = require('node:child_process')
|
|
27
27
|
|
|
28
|
-
const PACKAGE_RELEASE = '1.0.0-beta.
|
|
28
|
+
const PACKAGE_RELEASE = '1.0.0-beta.4'
|
|
29
29
|
const REPO = 'Whq02/MercuryCLI'
|
|
30
30
|
const WIN = process.platform === 'win32'
|
|
31
31
|
const release = (process.env.MERCURY_VERSION || PACKAGE_RELEASE).replace(/^v/, '')
|
|
@@ -79,7 +79,7 @@ function target() {
|
|
|
79
79
|
const apple = arch === 'arm64'
|
|
80
80
|
|| (spawnSync('sysctl', ['-n', 'hw.optional.arm64'], { encoding: 'utf8' }).stdout || '').trim() === '1'
|
|
81
81
|
if (apple) return 'macos-arm64'
|
|
82
|
-
|
|
82
|
+
return 'macos-x64'
|
|
83
83
|
}
|
|
84
84
|
if (platform === 'linux' && arch === 'x64') return 'linux-x64'
|
|
85
85
|
if (platform === 'linux' && arch === 'arm64') die(`no Linux arm64 build yet — build from source: https://github.com/${REPO}`)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mercury-tech-cli",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
4
|
-
"description": "Mercury — a terminal harness for software development. This package installs Mercury's own runtime on first run; it never runs Mercury on npm's or bun's engine. macOS (Apple silicon), Linux x64, Windows x64.",
|
|
3
|
+
"version": "1.0.0-beta.4",
|
|
4
|
+
"description": "Mercury — a terminal harness for software development. This package installs Mercury's own runtime on first run; it never runs Mercury on npm's or bun's engine. macOS (Apple silicon and Intel), Linux x64, Windows x64.",
|
|
5
5
|
"homepage": "https://mercury-cli.ai",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|