Skip to content

Driver download not extracting all necessary files #113

@zthun

Description

@zthun

Platform: MacOS Big Sur (11.0.1)
Browser: Microsoft Edge (87.0.664.55)
Version: 2.11.0

Description

When using edge between version 86 and 87 (latest stable release), the download of the zip file does not include all of the necessary files when running. The file structure on OSX for edge looks like this:

  • Driver_Notes
    • credits.html
    • LICENSE
  • libc++.dynlib
  • msedgedriver

In the output bin folder, it looks like this:

  • bin
    • Edge
      • X64
        • msedgedriver

This crashes because it's missing libc++.dynlib. The following is where the bug is actually located:

using (var zip = ZipFile.Open(path, ZipArchiveMode.Read))
            {
                foreach (var entry in zip.Entries)
                {
                    if (entry.Name == name)
                    {
                        entry.ExtractToFile(destination, true);
                    }
                }
            }

The check for entry.Name is what is killing it. Removing that check should fix this.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions