[MicroWin] Fix reference issue after #2888 (#3022)

Specifically, it fixes a reference issue for the "Recall fix". Thankfully, we're not making a release yet :)
This commit is contained in:
CodingWonders 2024-11-07 19:14:46 +01:00 committed by GitHub
parent bbc18b2d4b
commit d619ee7e85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View File

@ -332,4 +332,4 @@
"Type": "Button",
"ButtonWidth": "300"
}
}
}

View File

@ -164,7 +164,7 @@ public class PowerManagement {
Microwin-RemoveProvisionedPackages
# Detect Windows 11 24H2 and add dependency to FileExp to prevent Explorer look from going back - thanks @WitherOrNot and @thecatontheceiling
if ((Test-CompatibleImage $imgVersion $([System.Version]::new(10,0,26100,1))) -eq $true) {
if ((Microwin-TestCompatibleImage $imgVersion $([System.Version]::new(10,0,26100,1))) -eq $true) {
try {
if (Test-Path "$scratchDir\Windows\SystemApps\MicrosoftWindows.Client.FileExp_cw5n1h2txyewy\appxmanifest.xml" -PathType Leaf) {
# Found the culprit. Do the following:

View File

@ -18,4 +18,4 @@ function Microwin-GetLocalizedUsers
} else {
return (Get-LocalGroup | Where-Object { $_.SID.Value -like "S-1-5-32-545" }).Name
}
}
}

View File

@ -100,4 +100,4 @@ function Invoke-WinUtilInstallPSProfile {
Write-Host "This profile requires Powershell Core, which is currently not installed!" -ForegroundColor Red
}
}
}
}

View File

@ -184,4 +184,4 @@ function Invoke-WinUtilUninstallPSProfile {
Write-Host "===> No PowerShell Profile Found. Skipped Uninstallation. <===" -ForegroundColor Magenta
}
}
}
}