diff --git a/config/feature.json b/config/feature.json index 9405cb33..afa423a7 100644 --- a/config/feature.json +++ b/config/feature.json @@ -332,4 +332,4 @@ "Type": "Button", "ButtonWidth": "300" } -} \ No newline at end of file +} diff --git a/functions/microwin/Invoke-Microwin.ps1 b/functions/microwin/Invoke-Microwin.ps1 index 9125fac5..65b032ab 100644 --- a/functions/microwin/Invoke-Microwin.ps1 +++ b/functions/microwin/Invoke-Microwin.ps1 @@ -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: diff --git a/functions/microwin/Microwin-GetLocalizedUsers.ps1 b/functions/microwin/Microwin-GetLocalizedUsers.ps1 index 0f7bf7bd..9b1763f3 100644 --- a/functions/microwin/Microwin-GetLocalizedUsers.ps1 +++ b/functions/microwin/Microwin-GetLocalizedUsers.ps1 @@ -18,4 +18,4 @@ function Microwin-GetLocalizedUsers } else { return (Get-LocalGroup | Where-Object { $_.SID.Value -like "S-1-5-32-545" }).Name } -} \ No newline at end of file +} diff --git a/functions/private/Invoke-WinUtilInstallPSProfile.ps1 b/functions/private/Invoke-WinUtilInstallPSProfile.ps1 index e34fc75b..551c935a 100644 --- a/functions/private/Invoke-WinUtilInstallPSProfile.ps1 +++ b/functions/private/Invoke-WinUtilInstallPSProfile.ps1 @@ -100,4 +100,4 @@ function Invoke-WinUtilInstallPSProfile { Write-Host "This profile requires Powershell Core, which is currently not installed!" -ForegroundColor Red } } -} \ No newline at end of file +} diff --git a/functions/private/Invoke-WinUtilUninstallPSProfile.ps1 b/functions/private/Invoke-WinUtilUninstallPSProfile.ps1 index 3394fa7c..d97442d0 100644 --- a/functions/private/Invoke-WinUtilUninstallPSProfile.ps1 +++ b/functions/private/Invoke-WinUtilUninstallPSProfile.ps1 @@ -184,4 +184,4 @@ function Invoke-WinUtilUninstallPSProfile { Write-Host "===> No PowerShell Profile Found. Skipped Uninstallation. <===" -ForegroundColor Magenta } } -} \ No newline at end of file +}