Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Commit 8d439d8

Browse files
committed
fix bat
1 parent 2e55a3a commit 8d439d8

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
build/*
2-
dist/*
2+
dist/*
3+
*.spec

build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pyinstaller -w --onefile --icon=yayd.ico --version-file=vf.txt --add-data "yayd.ico" yayd.py
1+
pyinstaller -w --onefile --icon=yayd.ico --version-file=vf.txt --add-data="yayd.ico:file" yayd.py

yayd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def saq():
3535
style.theme_use('vista')
3636
root.geometry("500x400")
3737
if getattr(sys, 'frozen', False):
38-
root.iconbitmap(os.path.join(sys._MEIPASS, "yayd.ico"))
38+
root.iconbitmap(os.path.join(sys._MEIPASS, "file/yayd.ico"))
3939
else:
4040
root.iconbitmap("yayd.ico")
4141
ent = ttk.Entry(root,width=50)

0 commit comments

Comments
 (0)