v1.4: Block Claude from writing to the Desktop and AppData
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
aecdc732b9
commit
14763a002a
@@ -12,6 +12,8 @@ namespace QuickClaude
|
||||
{
|
||||
// Run as Claude Code's shell-command confirm hook (separate short-lived process)
|
||||
if (Array.IndexOf(args, "--confirm") >= 0) return ConfirmHook.Run();
|
||||
// Run as Claude Code's file-write guard hook (see WriteGuard)
|
||||
if (Array.IndexOf(args, "--guard-write") >= 0) return WriteGuard.Run();
|
||||
|
||||
using var mutex = new Mutex(true, "QuickClaude.SingleInstance", out bool first);
|
||||
if (!first) return 0;
|
||||
|
||||
Reference in New Issue
Block a user