santui 0.2.14 → 0.2.16

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.
Files changed (3) hide show
  1. package/README.md +1 -0
  2. package/index.js +2 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -22,6 +22,7 @@ This npm package downloads the correct pre-built binary for your platform (Windo
22
22
  |---|---|
23
23
  | Windows x64 | `santui-x86_64-pc-windows-msvc.zip` |
24
24
  | macOS ARM64 | `santui-aarch64-apple-darwin.tar.gz` |
25
+ | macOS x64 | `santui-x86_64-apple-darwin.tar.gz` |
25
26
  | Linux x64 | `santui-x86_64-unknown-linux-gnu.tar.gz` |
26
27
 
27
28
  ## Source
package/index.js CHANGED
@@ -22,7 +22,8 @@ function getTarget() {
22
22
  if (os === 'win32') return 'x86_64-pc-windows-msvc';
23
23
  if (os === 'darwin') {
24
24
  if (arch === 'arm64') return 'aarch64-apple-darwin';
25
- die('Intel Mac (x64) is not supported yet. Build from source instead:\n git clone https://github.com/sonyarianto/santui.git && cd santui && cargo build --workspace');
25
+ if (arch === 'x64') return 'x86_64-apple-darwin';
26
+ die(`Unsupported architecture: ${arch}`);
26
27
  }
27
28
  if (os === 'linux') return 'x86_64-unknown-linux-gnu';
28
29
  die(`Unsupported platform: ${os}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "santui",
3
- "version": "0.2.14",
3
+ "version": "0.2.16",
4
4
  "description": "Your terminal home base — a modern TUI launcher for plugins",
5
5
  "homepage": "https://github.com/sonyarianto/santui",
6
6
  "license": "MIT",