mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-05 18:20:44 -08:00
Fix: Install - Spacing at path
This commit is contained in:
parent
8ab9ffff69
commit
b37e8e3446
2 changed files with 3 additions and 3 deletions
|
|
@ -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 ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue