diff --git a/main.py b/main.py index 94f27b2..c968f64 100644 --- a/main.py +++ b/main.py @@ -1,13 +1,12 @@ # main.py # -*- coding: utf-8 -*- -import tkinter as tk +import customtkinter as ctk from ui import NovelGeneratorGUI def main(): - root = tk.Tk() - root.title("Novel Generator") - app = NovelGeneratorGUI(root) - root.mainloop() + app = ctk.CTk() + gui = NovelGeneratorGUI(app) + app.mainloop() if __name__ == "__main__": main() diff --git a/main.spec b/main.spec index 17db507..50a88dd 100644 --- a/main.spec +++ b/main.spec @@ -45,7 +45,7 @@ exe = EXE( a.scripts, [], exclude_binaries=True, - name='AI_NovelGenerator_V1.4.1', + name='AI_NovelGenerator_V1.4.2', debug=True, bootloader_ignore_signals=False, strip=False, @@ -66,5 +66,5 @@ coll = COLLECT( strip=False, upx=True, upx_exclude=[], - name='AI_NovelGenerator_V1.4.1' + name='AI_NovelGenerator_V1.4.2' )