mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-31 22:23:27 +08:00
fix(hooks): quote PowerShell path in install tip for shell safety
The PowerShell path contains spaces and needs to be quoted when displayed as a copy-pasteable command.
This commit is contained in:
@@ -141,7 +141,7 @@ function run(raw) {
|
||||
} else if (ps) {
|
||||
// PowerShell exists but no BurntToast module
|
||||
log('[DesktopNotify] Tip: Install BurntToast module to enable notifications:');
|
||||
log(`[DesktopNotify] ${ps.path} -Command "Install-Module -Name BurntToast -Scope CurrentUser"`);
|
||||
log(`[DesktopNotify] "${ps.path}" -Command "Install-Module -Name BurntToast -Scope CurrentUser"`);
|
||||
} else {
|
||||
// No PowerShell found
|
||||
log('[DesktopNotify] Tip: Install BurntToast in PowerShell for notifications:');
|
||||
|
||||
Reference in New Issue
Block a user