Skip to content

Commit

Permalink
Merge tag '2.0.7' into dev
Browse files Browse the repository at this point in the history
Skip driver setup for ARM architecture
  • Loading branch information
KarmaKamikaze committed Sep 25, 2024
2 parents 51f3463 + 20251be commit dd29aba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions MoxfieldPriceScraper/MoxfieldScraper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,9 @@ private void InitializeWebDriver()
};
chromeOptions.AddUserProfilePreference("prefs", preferences);

if (RuntimeInformation.OSArchitecture == Architecture.Arm ||
RuntimeInformation.OSArchitecture == Architecture.Arm64)
// Skip driver setup for ARM architecture
if (!(RuntimeInformation.OSArchitecture == Architecture.Arm ||
RuntimeInformation.OSArchitecture == Architecture.Arm64))
{
new DriverManager().SetUpDriver(new ChromeConfig());
}
Expand Down

0 comments on commit dd29aba

Please sign in to comment.