Skip to content

Commit

Permalink
sep24 - second
Browse files Browse the repository at this point in the history
  • Loading branch information
7flash committed Sep 24, 2023
1 parent a67ff44 commit a09be3e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/webui.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
Canada.
*/

#define WEBUI_LOG

// 64Mb max dynamic memory allocation
#define WEBUI_MAX_BUF (64000000)

Expand Down Expand Up @@ -2501,9 +2503,9 @@ static bool _webui_browser_create_profile_folder(_webui_window_t* win, size_t br
const char* temp = _webui_browser_get_temp_path(browser);

if(browser == Chrome) {

// Google Chrome
sprintf(win->profile_path, "%s%s.WebUI%sWebUIChromeProfile", temp, webui_sep, webui_sep);
sprintf(win->profile_path, "%s/Library/Application Support/Google/Chrome", temp);
// sprintf(win->profile_path, "%s%s.WebUI%sWebUIChromeProfile", temp, webui_sep, webui_sep);
return true;
}
else if(browser == Edge) {
Expand Down Expand Up @@ -3401,10 +3403,9 @@ static int _webui_get_browser_args(_webui_window_t* win, size_t browser, char *b
#endif

const char *chromium_options[] = {
"--no-first-run",
// "--no-first-run",
"--no-proxy-server",
"--safe-mode",
"--disable-extensions",
// "--safe-mode",
"--disable-background-mode",
"--disable-plugins",
"--disable-plugins-discovery",
Expand Down

0 comments on commit a09be3e

Please sign in to comment.