Fix filename in build script, add icon for build executable
This commit is contained in:
parent
232ba02c25
commit
1b88e6a526
BIN
assets/icon.png
Normal file
BIN
assets/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
4
build.py
4
build.py
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user