mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-05-19 04:06:19 +00:00
Remove unused variable $hiveDatPath from ImportRegistryFile
This commit is contained in:
@@ -8,7 +8,6 @@ function ImportRegistryFile {
|
||||
Write-Host $message
|
||||
|
||||
$usesOfflineHive = $script:Params.ContainsKey("Sysprep") -or $script:Params.ContainsKey("User")
|
||||
$hiveDatPath = $null
|
||||
$regFileDirectory = if ($usesOfflineHive) {
|
||||
Join-Path $script:RegfilesPath "Sysprep"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user