claude-voice-mod 0.1.226 → 0.1.227
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 +2 -0
- package/install.mjs +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,3 +17,5 @@ pnpm dlx claude-voice-mod@latest
|
|
|
17
17
|
Install Node.js 22.19 or later first. Installation downloads the matching [GitHub release](https://github.com/hopetonp/claude-voice-mod/releases/latest), checks its SHA-256 digest, and runs its installer. It requires the Claude CLI and Chrome; it does not bundle Node, compile code, or require Rust. Restart Claude after installation.
|
|
18
18
|
|
|
19
19
|
For a global installation, use `npm install --global --foreground-scripts claude-voice-mod@latest` to show installer output. This package supports macOS arm64, macOS x64, and Windows x64. If npm lifecycle scripts are disabled, run the `claude-voice-mod` command explicitly after installing the package.
|
|
20
|
+
|
|
21
|
+
If a global installation fails, run `npm uninstall --global claude-voice-mod` before trying again to remove leftover npm launcher files that can cause `EEXIST`. Using `npx` avoids creating global launchers.
|
package/install.mjs
CHANGED
|
@@ -13,9 +13,9 @@ import { assertNodeVersion } from './node-requirement.cjs'
|
|
|
13
13
|
|
|
14
14
|
const version = JSON.parse(readFileSync(new URL('./package.json', import.meta.url), 'utf8')).version
|
|
15
15
|
const checksums = {
|
|
16
|
-
"darwin-arm64": "
|
|
17
|
-
"darwin-x64": "
|
|
18
|
-
"win32-x64": "
|
|
16
|
+
"darwin-arm64": "05aa2dcdb9cd45254df1b12afb79448c80e583bd4029fa92e3bff2a47e63aa9f",
|
|
17
|
+
"darwin-x64": "f83bb7026211347be399b76c5a27014e6cab4b1d651e61b9023109744128681a",
|
|
18
|
+
"win32-x64": "290f1326e894ec43322cd76310c1abed208d6c142d681c6acfb4e3939d6baaa9"
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export function releaseFor(platform = process.platform, arch = process.arch) {
|
|
@@ -85,7 +85,7 @@ export async function install() {
|
|
|
85
85
|
|
|
86
86
|
status('Installing host and Claude Mods…')
|
|
87
87
|
if (process.platform === 'darwin') run('sh', [join(packageDir, 'install.sh')])
|
|
88
|
-
else run('powershell.exe', ['-NoProfile', '-NonInteractive', '-ExecutionPolicy', 'Bypass', '-File', join(packageDir, 'install.ps1')])
|
|
88
|
+
else run('powershell.exe', ['-NoProfile', '-NonInteractive', '-ExecutionPolicy', 'Bypass', '-File', join(packageDir, 'install.ps1'), '-NodePath', process.execPath])
|
|
89
89
|
status(`${version} installed. Restart Claude, then open Voice settings.`)
|
|
90
90
|
} finally {
|
|
91
91
|
await rm(temp, { recursive: true, force: true })
|