Atlas-Install/main.pyw

37 lines
No EOL
1.1 KiB
Python

from tkinter import *
from PIL import Image, ImageFont, ImageDraw
from tkinter import messagebox, filedialog, ttk
from threading import Thread
import subprocess
import traceback
import requests
import zipfile
import shutil
import json
import glob
import math
import os
from source.definition import *
class ClassApp():
from source.__init__ import __init__
from source.translate import translate, change_language, get_language
from source.Progress import Progress
from source.check_update import check_update
from source.StateButton import StateButton
from source.create_lecode_config import create_lecode_config
from source.patch_file import patch_file
from source.patch_bmg import patch_bmg
from source.install_mod import install_mod
from source.restart import restart
from source.patch_img_desc import patch_img_desc
from source.patch_ct_icon import patch_ct_icon
from source.log_error import log_error
from source.get_github_file import get_github_file
from source.patch_track import count_track, patch_track, patch_autoadd
from source.patch_image import patch_image
App = ClassApp()
App.root.mainloop()