Don't use utils.is_* in qutebrowser.spec

Looks like PyInstaller doesn't like that.
This partially reverts ef1c83862b.
This commit is contained in:
Florian Bruhin 2017-09-26 07:31:45 +02:00
parent e7dba338b5
commit ff6df0c8ca

View File

@ -5,7 +5,6 @@ import os
sys.path.insert(0, os.getcwd())
from scripts import setupcommon
from qutebrowser import utils
block_cipher = None
@ -31,9 +30,9 @@ def get_data_files():
setupcommon.write_git_file()
if utils.is_windows:
if os.name == 'nt':
icon = 'icons/qutebrowser.ico'
elif utils.is_mac:
elif sys.platform == 'darwin':
icon = 'icons/qutebrowser.icns'
else:
icon = None