Skip to content

Template cover generation hardcodes the Edge path #184

Open

Description

@wyt-23

Summary

generate-template-covers.mjs directly uses C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe, which fails when Edge is installed elsewhere, only Chrome is available, or the script runs outside Windows.

To Reproduce

  1. Run the cover generator on a machine without Edge at C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe.

Expected behavior

The script reads an environment override or discovers an available browser, then reports a clear error if none is found.

Actual behavior

The script depends on one hardcoded path, making failures harder to recover from.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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