Update file path generation

This commit is contained in:
wheaney 2025-03-11 13:57:45 -07:00
parent efcc5bea81
commit d8ea8dcb1e
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ def get_state_dir():
def get_data_home():
data_home = os.environ.get('XDG_DATA_HOME', '~/.local/share')
return os.path.expanduser(data_home)
return os.getenv('APPDIR', os.path.expanduser(data_home))
def get_bin_home():
bin_home = os.environ.get('XDG_BIN_HOME', '~/.local/bin')

View File

@ -2,7 +2,7 @@ import logging
import os
import subprocess
from .files import get_bin_home, get_data_home
from .files import get_bin_home
logger = logging.getLogger('breezy_ui')