From a09be3eac4ad1937e8286b9754fa17de5dbad85f Mon Sep 17 00:00:00 2001 From: Igor Berlenko Date: Sun, 24 Sep 2023 14:37:54 +0800 Subject: [PATCH] sep24 - second --- src/webui.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/webui.c b/src/webui.c index c15955ee5..aeda62160 100644 --- a/src/webui.c +++ b/src/webui.c @@ -8,6 +8,8 @@ Canada. */ +#define WEBUI_LOG + // 64Mb max dynamic memory allocation #define WEBUI_MAX_BUF (64000000) @@ -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) { @@ -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",