mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 21:12:50 +00:00
Add runtime hook for osx and windows builds. For osx produce 64bit binary.
This commit is contained in:
parent
896370eaad
commit
9e50db27c0
@ -11,7 +11,7 @@ branch = %(projects)s/trunk
|
||||
documentation = %(projects)s/documentation
|
||||
macicon = %(here)s/OpenLP.icns
|
||||
bundleinfo = %(here)s/Info.plist
|
||||
hooks = resources/pyinstaller
|
||||
hooks = %(here)s/../pyinstaller-hooks
|
||||
dmg_background = %(here)s/DmgImageInstallBackground.png
|
||||
|
||||
[transifex]
|
||||
|
@ -332,13 +332,14 @@ class MacosxBuilder(object):
|
||||
"""
|
||||
self._print(u'Running PyInstaller...')
|
||||
os.chdir(self.branch_path)
|
||||
# arch -i386 ensures 32bit build is created.
|
||||
pyinstaller = Popen(('arch', '-i386', self.python,
|
||||
pyinstaller = Popen((self.python,
|
||||
self.pyinstaller,
|
||||
u'--noconfirm',
|
||||
u'--windowed',
|
||||
u'--noupx',
|
||||
u'--additional-hooks-dir', self.hooks_path,
|
||||
u'--runtime-hook', os.path.join(self.hooks_path,
|
||||
'rthook_openlp_pyqt4.py'),
|
||||
u'--log-level=ERROR',
|
||||
u'-o', self.branch_path,
|
||||
#u'-i', self.mac_icon,
|
||||
|
Loading…
Reference in New Issue
Block a user