Fix creation of the Thunderbird association

This commit is contained in:
Manuel Thalmann 2023-07-26 12:01:18 +02:00
parent 205970f441
commit 4871c66e71

View file

@ -19,13 +19,13 @@ $defaultAssociations.Load($reader);
$reader.Dispose();
foreach ($association in $defaultAssociations.SelectNodes("/DefaultAssociations/Association")) {
$association.ApplicationName = "Thunderbird";
switch ($association.Identifier) {
"mailto" {
$association.ApplicationName = "Thunderbird";
$association.ProgId = "Thunderbird.Url.mailto";
};
".eml" {
$association.ApplicationName = "Thunderbird";
$association.ProgId = "ThunderbirdEML";
};
}