This repository has been archived on 2025-02-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
SyncTk/main.py

27 lines
566 B
Python
Raw Normal View History

2023-01-25 16:23:18 +01:00
import locale
2023-01-22 20:06:55 +01:00
from os import path
2023-01-22 00:22:08 +01:00
from classes.app import App
2023-01-22 20:06:55 +01:00
from modules.utils import jsonSave
if not path.exists("config.json"):
jsonSave(
{
2023-01-23 00:13:30 +01:00
"name": None,
2023-01-22 20:06:55 +01: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-25 16:23:18 +01:00
locale.setlocale(locale.LC_ALL, '')
2023-01-22 00:22:08 +01:00
if __name__ == "__main__":
app = App()
app.mainloop()