Force the use of the managed distribution

This commit is contained in:
Manuel Thalmann 2024-08-27 04:26:25 +02:00
parent 3185e67a59
commit e828cb1988
2 changed files with 9 additions and 1 deletions
scripts/Common/Scripts

View file

@ -173,7 +173,7 @@ $null = New-Module {
return;
}
if (-not (Test-WslDistributions)) {
if (-not (Test-WslDistribution)) {
if (-not (Test-Path (Get-WslDistributionDisk))) {
Install-WslDistribution;
}