-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Labels
Description
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
- X64
- Edge
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.