mirror of
https://github.com/webui-dev/webui
synced 2025-03-28 21:13:17 +00:00
Check google-chrome-stable
at Linux ( Fix #77 )
This commit is contained in:
parent
ef2671f267
commit
82fd95d864
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user