mirror of
https://github.com/rbreu/beeref.git
synced 2026-03-11 08:54:28 +00:00
Fix icon in builds
This commit is contained in:
parent
30c766e78c
commit
e0cf4479b2
2 changed files with 2 additions and 2 deletions
BIN
beeref/assets/logo.icns
Normal file
BIN
beeref/assets/logo.icns
Normal file
Binary file not shown.
4
build.py
4
build.py
|
|
@ -24,7 +24,7 @@ if sys.platform.startswith('win'):
|
|||
icon = 'logo.ico'
|
||||
else:
|
||||
libdir = 'lib'
|
||||
icon = 'logo.png'
|
||||
icon = 'logo.icns' # For OSX; param gets ignored on Linux
|
||||
|
||||
PyInstaller.__main__.run([
|
||||
'--noconfirm',
|
||||
|
|
@ -33,7 +33,7 @@ PyInstaller.__main__.run([
|
|||
'--name', appname,
|
||||
'--hidden-import', 'PyQt6.sip',
|
||||
'--hidden-import', 'PyQt6.QtPrintSupport',
|
||||
#'--icon', os.path.join('beeref', 'assets', 'logo.png'),
|
||||
'--icon', os.path.join('beeref', 'assets', icon),
|
||||
'--add-data', datapath(
|
||||
[pyqt_dir, 'plugins', 'platforms'], ['platforms']),
|
||||
'--add-data', datapath([pyqt_dir, libdir], ['.']),
|
||||
|
|
|
|||
Loading…
Reference in a new issue