Import the manipulated app associations

This commit is contained in:
Manuel Thalmann 2023-07-26 12:50:35 +02:00
parent 3b420f42d4
commit 585b9e3d55

View file

@ -28,6 +28,11 @@ New-Module {
$association.ProgId = $progId;
$association.ApplicationName = $applicationName;
$configFile = New-TemporaryFile;
$associations.Save($configFile.FullName);
DISM /Online "/Import-DefaultAppAssociations:$($configFile.FullName)";
Remove-Item $configFile;
}
}