Added environment variables

This commit is contained in:
2026-05-28 18:03:34 +01:00
parent a41a531ae4
commit 3792f67934
3 changed files with 22 additions and 4 deletions

View File

@ -45,8 +45,8 @@ def createNewPictureObserver(callback: callable) -> Observer:
if a new picture was found.
"""
if os.environ.get('VRC_PICTURES_DIR', None) is not None:
path = os.environ.get('VRC_PICTURES_DIR')
if os.environ.get('VRCCO_PICTURES_DIR', None) is not None:
path = os.environ.get('VRCCO_PICTURES_DIR')
elif platform.system() == 'Linux':
path = '~/.local/share/Steam/steamapps/compatdata/438100/pfx'
path += '/drive_c/users/steamuser/Pictures/VRChat/'