From 383ba1a67618e100aefa3a1911157bc0d9eaab88 Mon Sep 17 00:00:00 2001 From: dinhquy-easy <124875024+dqez@users.noreply.github.com> Date: Tue, 21 Apr 2026 23:13:20 +0700 Subject: [PATCH] fix: update hook command to use bash-compatible syntax --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 03e5ed1..a9fd05d 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Invoke-WebRequest -Uri "https://raw.githubusercontent.com/soulee-dev/claude-code "hooks": [ { "type": "command", - "command": "cmd /c chcp 65001 >nul && powershell -ExecutionPolicy Bypass -File %USERPROFILE%\\.claude\\claude-hook-toast.ps1" + "command": "powershell -ExecutionPolicy Bypass -File \"$USERPROFILE/.claude/claude-hook-toast.ps1\"" } ] } @@ -34,7 +34,7 @@ Invoke-WebRequest -Uri "https://raw.githubusercontent.com/soulee-dev/claude-code "hooks": [ { "type": "command", - "command": "cmd /c chcp 65001 >nul && powershell -ExecutionPolicy Bypass -File %USERPROFILE%\\.claude\\claude-hook-toast.ps1" + "command": "powershell -ExecutionPolicy Bypass -File \"$USERPROFILE/.claude/claude-hook-toast.ps1\"" } ] } @@ -54,7 +54,7 @@ Invoke-WebRequest -Uri "https://raw.githubusercontent.com/soulee-dev/claude-code "hooks": [ { "type": "command", - "command": "cmd /c chcp 65001 >nul && powershell -ExecutionPolicy Bypass -File %USERPROFILE%\\.claude\\claude-hook-toast.ps1" + "command": "powershell -ExecutionPolicy Bypass -File \"$USERPROFILE/.claude/claude-hook-toast.ps1\"" } ] } @@ -64,7 +64,7 @@ Invoke-WebRequest -Uri "https://raw.githubusercontent.com/soulee-dev/claude-code "hooks": [ { "type": "command", - "command": "cmd /c chcp 65001 >nul && powershell -ExecutionPolicy Bypass -File %USERPROFILE%\\.claude\\claude-hook-toast.ps1" + "command": "powershell -ExecutionPolicy Bypass -File \"$USERPROFILE/.claude/claude-hook-toast.ps1\"" } ] } @@ -74,7 +74,7 @@ Invoke-WebRequest -Uri "https://raw.githubusercontent.com/soulee-dev/claude-code "hooks": [ { "type": "command", - "command": "cmd /c chcp 65001 >nul && powershell -ExecutionPolicy Bypass -File %USERPROFILE%\\.claude\\claude-hook-toast.ps1" + "command": "powershell -ExecutionPolicy Bypass -File \"$USERPROFILE/.claude/claude-hook-toast.ps1\"" } ] } @@ -84,7 +84,7 @@ Invoke-WebRequest -Uri "https://raw.githubusercontent.com/soulee-dev/claude-code "hooks": [ { "type": "command", - "command": "cmd /c chcp 65001 >nul && powershell -ExecutionPolicy Bypass -File %USERPROFILE%\\.claude\\claude-hook-toast.ps1" + "command": "powershell -ExecutionPolicy Bypass -File \"$USERPROFILE/.claude/claude-hook-toast.ps1\"" } ] } @@ -94,7 +94,7 @@ Invoke-WebRequest -Uri "https://raw.githubusercontent.com/soulee-dev/claude-code "hooks": [ { "type": "command", - "command": "cmd /c chcp 65001 >nul && powershell -ExecutionPolicy Bypass -File %USERPROFILE%\\.claude\\claude-hook-toast.ps1" + "command": "powershell -ExecutionPolicy Bypass -File \"$USERPROFILE/.claude/claude-hook-toast.ps1\"" } ] }