Skip to content

Commit

Permalink
fix bat
Browse files Browse the repository at this point in the history
  • Loading branch information
Enderbyte09 committed Jan 29, 2024
1 parent 2e55a3a commit 8d439d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
build/*
dist/*
dist/*
*.spec
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pyinstaller -w --onefile --icon=yayd.ico --version-file=vf.txt --add-data "yayd.ico" yayd.py
pyinstaller -w --onefile --icon=yayd.ico --version-file=vf.txt --add-data="yayd.ico:file" yayd.py
2 changes: 1 addition & 1 deletion yayd.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def saq():
style.theme_use('vista')
root.geometry("500x400")
if getattr(sys, 'frozen', False):
root.iconbitmap(os.path.join(sys._MEIPASS, "yayd.ico"))
root.iconbitmap(os.path.join(sys._MEIPASS, "file/yayd.ico"))
else:
root.iconbitmap("yayd.ico")
ent = ttk.Entry(root,width=50)
Expand Down

0 comments on commit 8d439d8

Please sign in to comment.