Fix: Install - Spacing at path

This commit is contained in:
alstjr7375 2022-04-21 15:59:27 +09:00
parent 8ab9ffff69
commit b37e8e3446
2 changed files with 3 additions and 3 deletions

View file

@ -691,9 +691,9 @@ function Apply-CustomFile() {
if ( Test-Path -Path "${customFile}" -PathType leaf ) {
$global:customFileApplied = $true
# Apply without duplication
if ( -not (Write-Output "$(Write-Output $(Get-Content -Path ${targetFile}))" | Select-String -Pattern "$(Write-Output $(Get-Content -Path ${customFile}))" -SimpleMatch -Quiet) ) {
if ( -not (Write-Output "$(Write-Output $(Get-Content -Path "${targetFile}"))" | Select-String -Pattern "$(Write-Output $(Get-Content -Path "${customFile}"))" -SimpleMatch -Quiet) ) {
Get-Content -Path "${customFile}" | Out-File -FilePath "${targetFile}" -Append
}
elseif ( Test-Path -Path "${profilePath}\chrome\${customFile}" -PathType leaf ) {