diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-05-19 15:48:28 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-05-19 15:48:28 +0200 |
commit | 409a2990a84d5b7402b82b6ca3f8fc99bcc1dd84 (patch) | |
tree | 691228812d15e8bc286acd2df226ad47533c1ee0 | |
parent | 5ef10e2f929655961394e55f876b8875563fe3f2 (diff) | |
download | qutebrowser-409a2990a84d5b7402b82b6ca3f8fc99bcc1dd84.tar.gz qutebrowser-409a2990a84d5b7402b82b6ca3f8fc99bcc1dd84.zip |
Revert "Workaround PyInstaller 5.0 icon finding"
This reverts commit 07ce0349837fffc221184857be56517a2d208bd8.
Should be fixed in PyInstaller 5.1 now.
-rw-r--r-- | misc/qutebrowser.spec | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/misc/qutebrowser.spec b/misc/qutebrowser.spec index 3c75d1b90..60729266e 100644 --- a/misc/qutebrowser.spec +++ b/misc/qutebrowser.spec @@ -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: |