You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Console.WriteLine($"Uninstalling old Chrome version {oldBrowser.BuildId} from {browserFetcher.CacheDir}...");
42
+
browserFetcher.Uninstall(oldBrowser.BuildId);
43
+
}
44
+
45
+
Console.WriteLine($"Path to Chrome was not specified & default build is not installed. Downloading Chrome version {Chrome.DefaultBuildId} to {browserFetcher.CacheDir}...");
Console.WriteLine("Path to chrome was not specified. Downloading chrome...");
425
-
_=awaitbrowserFetcher.DownloadAsync();
425
+
if(!hasDefaultRevisionInstalled){
426
+
// Uninstall old revisions
427
+
foreach(varoldBrowserininstalled){
428
+
Console.WriteLine($"Uninstalling old Chrome version {oldBrowser.BuildId} from {browserFetcher.CacheDir}...");
429
+
browserFetcher.Uninstall(oldBrowser.BuildId);
430
+
}
431
+
432
+
Console.WriteLine($"Path to Chrome was not specified & default build is not installed. Downloading Chrome version {Chrome.DefaultBuildId} to {browserFetcher.CacheDir}...");
0 commit comments