Skip to content

Error when running updater.ps1 from PowerShell 7+ #813

@grolongo

Description

@grolongo

When running updater.ps1 an error occurs with this message:
The format of value '[Microsoft.PowerShell.Commands.PSUserAgent]::FireFox' is invalid.

This only happens when running the script from PowerShell v7+ (latest stable PowerShell version). It works fine under the default installed PowerShell v5.1 (legacy) though, that's why I think nobody sees this problem. Note that v7 is about to become the default in the near future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions