78:83b43987e61e | 79:b075b3db3044 |
---|---|
1 # | |
2 # Locations | |
3 # | |
4 | |
5 import os | |
6 import platform | |
7 import branding | |
8 | |
9 if platform.system()!='Darwin': | |
10 import xdg | |
11 cfgfile=os.path.join(xdg.XDG_CONFIG_HOME, branding.appname, "config.yaml") | |
12 logs_dir=os.path.join(xdg.XDG_DATA_HOME, branding.appname, "logs") | |
13 else: | |
14 import rumps | |
15 __base=rumps.application_support(branding.appname) | |
16 cfgfile=os.path.join(__base, "config.yaml") | |
17 logs_dir=os.path.join(__base, "logs") |