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:
@@ -97,6 +97,7 @@ function Install-FirefoxEsr {
|
||||
$Arguments = @(
|
||||
"install",
|
||||
"--id", $PackageId,
|
||||
"--source", "winget",
|
||||
"--silent",
|
||||
"--accept-source-agreements",
|
||||
"--accept-package-agreements"
|
||||
|
||||
@@ -93,6 +93,7 @@ function Install-FirefoxEsr {
|
||||
$Arguments = @(
|
||||
"install",
|
||||
"--id", $PackageId,
|
||||
"--source", "winget",
|
||||
"--silent",
|
||||
"--accept-source-agreements",
|
||||
"--accept-package-agreements"
|
||||
|
||||
Reference in New Issue
Block a user