Use appdirs instead of click

This commit is contained in:
nathom 2021-07-30 11:39:21 -07:00
parent 286ff502b5
commit 936975a681

View file

@ -2,12 +2,11 @@
import os
import re
from appdirs import user_config_dir
from pathlib import Path
from click import style, secho
APPNAME = "streamrip"
APP_DIR = get_app_dir(APPNAME)
APP_DIR = user_config_dir(APPNAME)
HOME = Path.home()
LOG_DIR = CACHE_DIR = CONFIG_DIR = APP_DIR