Starting to refactor to use AppConfiguration as top-level

This commit is contained in:
Sumner Evans
2020-04-05 21:01:58 -06:00
parent 874ad430b9
commit 3798865009
13 changed files with 308 additions and 175 deletions

View File

@@ -61,7 +61,7 @@ def main():
os.environ.get('XDG_CONFIG_HOME') or os.environ.get('APPDATA')
or os.path.join(os.environ.get('HOME'), '.config'))
config_folder = os.path.join(config_folder, 'sublime-music')
config_file = os.path.join(config_folder, 'config.json')
config_file = os.path.join(config_folder, 'config.yaml')
app = SublimeMusicApp(config_file)
app.run(unknown_args)