Merge pull request #78 from malisipi/main

Check `google-chrome-stable` at Linux ( Fix #77 )
This commit is contained in:
Hassan DRAGA 2023-04-09 11:53:00 -04:00 committed by GitHub
commit abe94a1387
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1966,6 +1966,11 @@ bool _webui_browser_exist(webui_window_t* win, unsigned int browser) {
sprintf(win->core.browser_path, "google-chrome");
return true;
}
else if(_webui_cmd_sync("google-chrome-stable --version", false) == 0) {
sprintf(win->core.browser_path, "google-chrome-stable");
return true;
}
else
return false;