Skip to content
This repository has been archived by the owner on Apr 3, 2022. It is now read-only.

Commit

Permalink
Remove Microsoft Edge from browser options
Browse files Browse the repository at this point in the history
  • Loading branch information
spikespaz committed Aug 15, 2018
1 parent fb6ed3f commit 62e1294
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions source/setup.d
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ void setup(const string filePath) {
const string engineURL = engineName == "Custom URL" ? getCustomEngine() : engines[engineName];
// dfmt off
const string browserPath =
browserName == "System Default" ? "system_default" :
browserName == "Microsoft Edge" ? "microsoft_edge" : browsers[browserName];
browserName == "System Default" ? "system_default" : browsers[browserName];
// browserName == "System Default" ? "system_default" :
// browserName == "Microsoft Edge" ? "microsoft_edge" : browsers[browserName];
// dfmt on

// dfmt off
Expand Down Expand Up @@ -190,7 +191,8 @@ string getBrowserChoice(const string[string] browsers) {
foreach (index, choice; choices.enumerate())
choices[index] = choice ~ " ~ " ~ browsers[choice];

choices ~= ["Microsoft Edge", "System Default"]; // Each of these strings, if returned, need special handling.
choices ~= ["System Default"]; // Each of these strings, if returned, need special handling.
// choices ~= ["Microsoft Edge", "System Default"];

writeln("Please make a selection of one of the browsers below.\n");

Expand Down

0 comments on commit 62e1294

Please sign in to comment.