Skip to content

Commit

Permalink
[MicroWin] Fix reference issue after #2888 (#3022)
Browse files Browse the repository at this point in the history
Specifically, it fixes a reference issue for the "Recall fix". Thankfully, we're not making a release yet :)
  • Loading branch information
CodingWonders authored Nov 7, 2024
1 parent bbc18b2 commit d619ee7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -332,4 +332,4 @@
"Type": "Button",
"ButtonWidth": "300"
}
}
}
2 changes: 1 addition & 1 deletion functions/microwin/Invoke-Microwin.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion functions/microwin/Microwin-GetLocalizedUsers.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ function Microwin-GetLocalizedUsers
} else {
return (Get-LocalGroup | Where-Object { $_.SID.Value -like "S-1-5-32-545" }).Name
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilInstallPSProfile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ function Invoke-WinUtilInstallPSProfile {
Write-Host "This profile requires Powershell Core, which is currently not installed!" -ForegroundColor Red
}
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilUninstallPSProfile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,4 @@ function Invoke-WinUtilUninstallPSProfile {
Write-Host "===> No PowerShell Profile Found. Skipped Uninstallation. <===" -ForegroundColor Magenta
}
}
}
}

0 comments on commit d619ee7

Please # to comment.