Browse Source

Fixed wrong path to delete

pull/437/head
Dmitry Nefedov 2 years ago
parent
commit
4eba188b17
  1. 2
      src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
  2. 2
      src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
  3. 2
      src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1
  4. 2
      src/Sophia_Script_for_Windows_11/Module/Sophia.psm1
  5. 2
      src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

2
src/Sophia_Script_for_Windows_10/Module/Sophia.psm1

@ -4279,7 +4279,7 @@ function FolderGroupBy
} }
"Default" "Default"
{ {
Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Force -ErrorAction Ignore Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}" -Recurse -Force -ErrorAction Ignore
} }
} }
} }

2
src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1

@ -3251,7 +3251,7 @@ function FolderGroupBy
} }
"Default" "Default"
{ {
Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Force -ErrorAction Ignore Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}" -Recurse -Force -ErrorAction Ignore
} }
} }
} }

2
src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1

@ -3622,7 +3622,7 @@ function FolderGroupBy
} }
"Default" "Default"
{ {
Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Force -ErrorAction Ignore Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}" -Recurse -Force -ErrorAction Ignore
} }
} }
} }

2
src/Sophia_Script_for_Windows_11/Module/Sophia.psm1

@ -3753,7 +3753,7 @@ function FolderGroupBy
} }
"Default" "Default"
{ {
Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Force -ErrorAction Ignore Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}" -Recurse -Force -ErrorAction Ignore
} }
} }
} }

2
src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

@ -3755,7 +3755,7 @@ function FolderGroupBy
} }
"Default" "Default"
{ {
Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Force -ErrorAction Ignore Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}" -Recurse -Force -ErrorAction Ignore
} }
} }
} }

Loading…
Cancel
Save