27 lines
435 B
Python
27 lines
435 B
Python
import os
|
|
import sys
|
|
|
|
import customtkinter
|
|
|
|
from src.window.app import App
|
|
|
|
|
|
def main():
|
|
if getattr(sys, 'frozen', False):
|
|
os.chdir(sys._MEIPASS)
|
|
|
|
customtkinter.set_appearance_mode("system")
|
|
customtkinter.set_default_color_theme("dark-blue")
|
|
|
|
root = customtkinter.CTk()
|
|
root.title("Drawing Training!")
|
|
root.geometry("300x600")
|
|
|
|
App(root)
|
|
|
|
root.mainloop()
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|