SyncTk/main.py

24 lines
511 B
Python
Raw Normal View History

2023-01-22 21:06:55 +02:00
from os import path
2023-01-22 01:22:08 +02:00
from classes.app import App
2023-01-22 21:06:55 +02:00
from modules.utils import jsonSave
if not path.exists("config.json"):
jsonSave(
{
2023-01-23 01:13:30 +02:00
"name": None,
2023-01-22 21:06:55 +02:00
"address": None,
"apikey": None,
"allow_self_signed": False,
"saves_location": None,
"dark_mode": False,
"dark_mode_auto": True,
"first_run": True
},
"config.json"
)
2023-01-22 01:22:08 +02:00
if __name__ == "__main__":
app = App()
app.mainloop()