Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/webui.c
Original file line number Diff line number Diff line change
Expand Up @@ -6077,7 +6077,7 @@ static bool _webui_custom_browser_exist(_webui_window_t* win, size_t browser) {
}
}
#else
#define MAX_BROWSER_FILES (2)
#define MAX_BROWSER_FILES (5)
char* executable = NULL;
char* executables[MAX_BROWSER_FILES] = {0};
if (browser == Chrome) {
Expand All @@ -6090,7 +6090,6 @@ static bool _webui_custom_browser_exist(_webui_window_t* win, size_t browser) {
}
else if (browser == Epic) {
executables[0] = "epic";
executables[1] = NULL;
}
else if (browser == Vivaldi) {
executables[0] = "vivaldi";
Expand All @@ -6101,15 +6100,12 @@ static bool _webui_custom_browser_exist(_webui_window_t* win, size_t browser) {
executables[1] = "brave-browser-stable";
executables[2] = "brave-browser-nightly";
executables[3] = "brave-browser-beta";
executables[4] = NULL;
}
else if (browser == Firefox) {
executables[0] = "firefox";
executables[1] = NULL;
}
else if (browser == Yandex) {
executables[0] = "yandex-browser";
executables[1] = NULL;
}
else if (browser == Chromium) {
executables[0] = "chromium-browser";
Expand Down
Loading