Skip to content

Commit

Permalink
Merge pull request #805 from digitalisx/fix/cache-windows-store
Browse files Browse the repository at this point in the history
Fix: cache path for python of `Microsoft Store` version.
  • Loading branch information
ikelos authored Aug 24, 2022
2 parents 0b0e10f + 24241fb commit eca239d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion volatility3/framework/constants/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"""Default path to store cached data"""

if sys.platform == 'win32':
CACHE_PATH = os.path.join(os.environ.get("APPDATA", os.path.expanduser("~")), "volatility3")
CACHE_PATH = os.path.realpath(os.path.join(os.environ.get("APPDATA", os.path.expanduser("~")), "volatility3"))
os.makedirs(CACHE_PATH, exist_ok = True)

LINUX_BANNERS_PATH = os.path.join(CACHE_PATH, "linux_banners.cache")
Expand Down

0 comments on commit eca239d

Please sign in to comment.