Move session.lock, Database And config.json To Config Folder

This commit is contained in:
MCgamin1738 2020-12-11 12:59:48 +00:00
parent 688117ec87
commit 102f63c771
3 changed files with 3 additions and 3 deletions

View File

@ -36,10 +36,10 @@ class Helpers:
self.webroot = os.path.join(self.root_dir, 'app', 'frontend')
self.servers_dir = os.path.join(self.root_dir, 'servers')
self.session_file = os.path.join(self.root_dir, 'session.lock')
self.settings_file = os.path.join(self.root_dir, 'config.json')
self.session_file = os.path.join(self.root_dir, 'app', 'config', 'session.lock')
self.settings_file = os.path.join(self.root_dir, 'app', 'config', 'config.json')
self.db_path = os.path.join(self.root_dir, 'crafty.sqlite')
self.db_path = os.path.join(self.root_dir, 'app', 'config', 'db', 'crafty.sqlite')
self.serverjar_cache = os.path.join(self.config_dir, 'serverjars.json')
self.passhasher = PasswordHasher()
self.exiting = False