Revert "Workaround PyInstaller 5.0 icon finding"
This reverts commit 07ce034983.
Should be fixed in PyInstaller 5.1 now.
This commit is contained in:
parent
5ef10e2f92
commit
409a2990a8
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
import sys
|
||||
import os
|
||||
import pathlib
|
||||
|
||||
sys.path.insert(0, os.getcwd())
|
||||
from scripts import setupcommon
|
||||
|
|
@ -42,10 +41,7 @@ setupcommon.write_git_file()
|
|||
|
||||
|
||||
if os.name == 'nt':
|
||||
# WORKAROUND for PyInstaller 5.0 bug:
|
||||
# https://github.com/pyinstaller/pyinstaller/issues/6759
|
||||
icons_path = pathlib.Path.cwd() / 'qutebrowser' / 'icons'
|
||||
icon = str(icons_path / 'qutebrowser.ico')
|
||||
icon = '../qutebrowser/icons/qutebrowser.ico'
|
||||
elif sys.platform == 'darwin':
|
||||
icon = '../qutebrowser/icons/qutebrowser.icns'
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue