Skip to content

Commit

Permalink
Build fixes: Fix icons, fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mak448a committed Mar 20, 2024
1 parent 77d0990 commit ec02c69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions main.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@


a = Analysis(
['src\\main.py'],
['src/main.py'],
pathex=[],
binaries=[],
datas=[
("licenses", "licenses"),
("src/assets/smiley.svg", ".")
("src/assets/smiley.svg", "assets/"),
("src/assets/server.png", "assets/")
],
hiddenimports=[],
hookspath=[],
Expand Down
2 changes: 1 addition & 1 deletion package_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
raise Exception("You need pyinstaller installed. Make sure to install a version at least 2 months old as to avoid false positives on virus detectors. Use pip install pyinstaller.")

os.chdir("src")
os.system("pyinstaller main.spec")
os.system("pyinstaller ../main.spec")

# choice = input("Delete build cache? (N/y) ").strip().lower()

Expand Down

0 comments on commit ec02c69

Please sign in to comment.