mirror of
https://github.com/rbreu/beeref.git
synced 2026-03-11 08:54:28 +00:00
Add ico icon format for windows build
This commit is contained in:
parent
cd59039b1d
commit
c1f95f7fe5
2 changed files with 8 additions and 4 deletions
BIN
beeref/assets/logo.ico
Normal file
BIN
beeref/assets/logo.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 52 KiB |
12
build.py
12
build.py
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue