From 4cd392595ebb6fd13c09fb51b661270bbda79c3c Mon Sep 17 00:00:00 2001 From: nilupulmanodya Date: Thu, 19 Oct 2023 09:00:05 +0530 Subject: [PATCH 1/2] change cookies dir of web browser --- mslib/msui/msui_web_browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mslib/msui/msui_web_browser.py b/mslib/msui/msui_web_browser.py index 7efa65337..328bf19f1 100644 --- a/mslib/msui/msui_web_browser.py +++ b/mslib/msui/msui_web_browser.py @@ -44,7 +44,7 @@ def __init__(self, url: str): self._url = url self.profile = QWebEngineProfile().defaultProfile() self.profile.setPersistentCookiesPolicy(QWebEngineProfile.ForcePersistentCookies) - self.browser_storage_folder = os.path.join(MSUI_CONFIG_PATH, '.cookies') + self.browser_storage_folder = os.path.join(MSUI_CONFIG_PATH, 'webbrowser/.cookies') self.profile.setPersistentStoragePath(self.browser_storage_folder) self.back_button = QPushButton("← Back", self) From 2673acee594843149f8df09f825bd3c6d4dcb12e Mon Sep 17 00:00:00 2001 From: Nilupul Manodya Date: Thu, 26 Oct 2023 17:12:08 +0530 Subject: [PATCH 2/2] Update mslib/msui/msui_web_browser.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Matthias Riße <9308656+matrss@users.noreply.github.com> --- mslib/msui/msui_web_browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mslib/msui/msui_web_browser.py b/mslib/msui/msui_web_browser.py index 328bf19f1..11fb3b018 100644 --- a/mslib/msui/msui_web_browser.py +++ b/mslib/msui/msui_web_browser.py @@ -44,7 +44,7 @@ def __init__(self, url: str): self._url = url self.profile = QWebEngineProfile().defaultProfile() self.profile.setPersistentCookiesPolicy(QWebEngineProfile.ForcePersistentCookies) - self.browser_storage_folder = os.path.join(MSUI_CONFIG_PATH, 'webbrowser/.cookies') + self.browser_storage_folder = os.path.join(MSUI_CONFIG_PATH, 'webbrowser', '.cookies') self.profile.setPersistentStoragePath(self.browser_storage_folder) self.back_button = QPushButton("← Back", self)