diff --git a/build.py b/build.py index 6d69acc..f066dea 100644 --- a/build.py +++ b/build.py @@ -16,7 +16,7 @@ # Create EXE os.system( f'pyinstaller --noconsole --paths {DEPENDENCIES_PATH} --name ceclient ' + - f'--onefile src/main.py' + f'--onefile src/main.py --icon=resources/icons/ce_icon.ico' ) # Create dirs diff --git a/ceclient.spec b/ceclient.spec index a403084..a485bf2 100644 --- a/ceclient.spec +++ b/ceclient.spec @@ -31,4 +31,4 @@ exe = EXE(pyz, upx=True, upx_exclude=[], runtime_tmpdir=None, - console=False ) + console=False , icon='resources\\icons\\ce_icon.ico') diff --git a/resources/icons/ce_icon.ico b/resources/icons/ce_icon.ico new file mode 100644 index 0000000..c6628f1 Binary files /dev/null and b/resources/icons/ce_icon.ico differ