mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
add escaped quotes handling
This commit is contained in:
parent
3aeca3c972
commit
ae473ecea6
@ -91,7 +91,7 @@ function Create-RC($version, $path) {
|
||||
foreach ($fragment in $version) {
|
||||
if ( !$fragment ) { break }
|
||||
elseif ($index -lt $pattern.length) {
|
||||
$resource = $resource.Replace( "{" + $pattern[$index++] + "}", $fragment )
|
||||
$resource = $resource.Replace( "{" + $pattern[$index++] + "}", '"' + $fragment + '"' )
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user