update main.spec

This commit is contained in:
YILING0013
2025-02-10 21:48:47 +08:00
parent 5392bb505c
commit 6d90d524b1
2 changed files with 6 additions and 7 deletions
+4 -5
View File
@@ -1,13 +1,12 @@
# main.py # main.py
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import tkinter as tk import customtkinter as ctk
from ui import NovelGeneratorGUI from ui import NovelGeneratorGUI
def main(): def main():
root = tk.Tk() app = ctk.CTk()
root.title("Novel Generator") gui = NovelGeneratorGUI(app)
app = NovelGeneratorGUI(root) app.mainloop()
root.mainloop()
if __name__ == "__main__": if __name__ == "__main__":
main() main()
+2 -2
View File
@@ -45,7 +45,7 @@ exe = EXE(
a.scripts, a.scripts,
[], [],
exclude_binaries=True, exclude_binaries=True,
name='AI_NovelGenerator_V1.4.1', name='AI_NovelGenerator_V1.4.2',
debug=True, debug=True,
bootloader_ignore_signals=False, bootloader_ignore_signals=False,
strip=False, strip=False,
@@ -66,5 +66,5 @@ coll = COLLECT(
strip=False, strip=False,
upx=True, upx=True,
upx_exclude=[], upx_exclude=[],
name='AI_NovelGenerator_V1.4.1' name='AI_NovelGenerator_V1.4.2'
) )