Add ico icon format for windows build

This commit is contained in:
Rebecca Breu 2021-07-06 21:57:12 +02:00
parent cd59039b1d
commit c1f95f7fe5
2 changed files with 8 additions and 4 deletions

BIN
beeref/assets/logo.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View file

@ -16,11 +16,15 @@ def datapath(src, dest):
return os.path.join(*src) + os.pathsep + os.path.join(*dest)
pyqt_dir = os.path.join(get_python_lib(), 'PyQt6', 'Qt6')
libdir = 'bin' if sys.platform.startswith('win') else 'lib'
appname = f'{constants.APPNAME}-{constants.VERSION}'
pyqt_dir = os.path.join(get_python_lib(), 'PyQt6', 'Qt6')
if sys.platform.startswith('win'):
libdir = 'bin'
icon = 'logo.ico'
else:
libdir = 'lib'
icon = 'logo.png'
PyInstaller.__main__.run([
'--noconfirm',