Skip to content

Commit

Permalink
[windows] storage_path is now applicable in a private mode
Browse files Browse the repository at this point in the history
  • Loading branch information
r0x0r committed Feb 21, 2023
1 parent b8209dc commit 0b61f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webview/platforms/winforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def edge_build(key_type, key, description=''):
logger.debug('Using WinForms / MSHTML')
renderer = 'mshtml'

if not _private_mode:
if not _private_mode or _storage_path:
try:
app_data = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
cache_dir = _storage_path or os.path.join(app_data, 'pywebview')
Expand Down

0 comments on commit 0b61f88

Please sign in to comment.