Skip to content

Commit

Permalink
Use roaming on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Serial-ATA committed Aug 27, 2022
1 parent 04aa8fc commit b5a0558
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vidl/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@

if sys.platform == 'darwin':
# TODO: https://github.com/ActiveState/appdirs/issues/185
user_config_dir = "~/Library/Application Support"
user_config_dir = os.path.join(user_config_dir, appname)
user_config_dir = "~/Library/Application Support/" + package_author + "." + package_name
else:
user_config_dir = appdirs.user_config_dir(package_name, package_author)
user_config_dir = appdirs.user_config_dir(package_name, package_author, roaming=True)

config_path = os.path.join(user_config_dir, 'config.json')
user_md_parser_path = os.path.join(user_config_dir, 'user_md_parser.py')
Expand Down

0 comments on commit b5a0558

Please sign in to comment.