SyncTk/main.py
2023-01-25 16:23:18 +01:00

27 lines
566 B
Python

import locale
from os import path
from classes.app import App
from modules.utils import jsonSave
if not path.exists("config.json"):
jsonSave(
{
"name": None,
"address": None,
"apikey": None,
"allow_self_signed": False,
"saves_location": None,
"dark_mode": False,
"dark_mode_auto": True,
"first_run": True
},
"config.json"
)
locale.setlocale(locale.LC_ALL, '')
if __name__ == "__main__":
app = App()
app.mainloop()