Fix Firefox install failing when msstore source returns certificate error

Add --source winget to winget install call so the package is resolved
only from the winget source, avoiding the msstore TLS failure.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-24 11:18:23 +02:00
parent 5594752906
commit 956eddc872
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -93,6 +93,7 @@ function Install-FirefoxEsr {
$Arguments = @(
"install",
"--id", $PackageId,
"--source", "winget",
"--silent",
"--accept-source-agreements",
"--accept-package-agreements"