SyncTk/main.py
2023-01-23 00:13:30 +01:00

24 lines
511 B
Python

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"
)
if __name__ == "__main__":
app = App()
app.mainloop()