From 9a92c5776beab18b183fb78e11edfc9ef40f9191 Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Sat, 9 Oct 2021 17:22:51 +0300 Subject: [PATCH] typo --- Install.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Install.ps1 b/Install.ps1 index 49b66a1..deea288 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -335,7 +335,7 @@ if ($ch -eq 'y') { } #Создать файл Update если его нет - if (!($Check_folder_file -match '\bSystem\b|' -and $Check_folder_file -match '\bReadOnly\b')) { + if (!($Check_folder_file -match '\bSystem\b' -and $Check_folder_file -match '\bReadOnly\b')) { New-Item -Path $env:LOCALAPPDATA\Spotify\ -Name "Update" -ItemType "file" -Value "STOPIT" | Out-Null $file = Get-ItemProperty -Path $env:LOCALAPPDATA\Spotify\Update $file.Attributes = "ReadOnly", "System"