mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-05-07 21:25:46 +00:00
fix: enhance regex to correctly parse wrapper file paths for claude.exe
This commit is contained in:
@@ -50,7 +50,7 @@ function resolveClaudeWrapperBinary(
|
||||
return null;
|
||||
}
|
||||
|
||||
const matches = content.matchAll(/["']([^"'\\r\\n]*claude\.exe)["']/gi);
|
||||
const matches = content.matchAll(/["']([^"'\\\r\n]*claude\.exe)["']/gi);
|
||||
for (const match of matches) {
|
||||
const rawTarget = match[1]
|
||||
.replace(/^\$basedir[\\/]/i, '')
|
||||
|
||||
Reference in New Issue
Block a user