Fix filename in build script, add icon for build executable

This commit is contained in:
Ahrimdon 2024-03-02 22:48:29 -05:00
parent 232ba02c25
commit 1b88e6a526
2 changed files with 3 additions and 1 deletions

BIN
assets/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -5,7 +5,8 @@ from distutils.sysconfig import get_python_lib
site_packages_path = get_python_lib() site_packages_path = get_python_lib()
NAME = "IW4MAdmin_DB_Parser" NAME = "IW4MAdmin_DB_Parser"
SCRIPT = "combine_db.py" SCRIPT = "parse_db.py"
ICON = "assets/icon.png"
PyInstaller.__main__.run([ PyInstaller.__main__.run([
"{}".format(SCRIPT), "{}".format(SCRIPT),
@ -13,6 +14,7 @@ PyInstaller.__main__.run([
"--noconfirm", "--noconfirm",
"--onefile", "--onefile",
"--windowed", "--windowed",
"--icon", f"{ICON}"
]) ])
# create symbolic hardlink to main directory # create symbolic hardlink to main directory