24 lines
511 B
Python
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() |