Skip to content

Azure Trusted Signing fails when there are spaces in the file path #8600

Closed
@MikeJerred

Description

@MikeJerred
  • Electron-Builder Version: 25.1.8
  • Node Version: 20.11.0
  • Electron Version: 21.3.3
  • Electron Type (current, beta, nightly):
  • Target: windows

If the path to be signed has spaces in it, the powershell command interprets multiple args.

Example of the error when trying to sign foo bar.exe:

Get-ChildItem: Cannot find path '.\bar' because it does not exist.
SignTool Error: File not found: .\foo
Exception: SignTool failed with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions