fixed: mac post make always runs even if gui not built
This commit is contained in:
parent
ce8630a5c6
commit
5bb7a9fc7c
|
@ -445,9 +445,9 @@ class InternalCommands:
|
||||||
|
|
||||||
if sys.platform == 'darwin' and not "clean" in args:
|
if sys.platform == 'darwin' and not "clean" in args:
|
||||||
for target in targets:
|
for target in targets:
|
||||||
self.macPostMakeGui(target)
|
self.macPostMake(target)
|
||||||
|
|
||||||
def macPostMakeGui(self, target):
|
def macPostMake(self, target):
|
||||||
|
|
||||||
dir = self.getGenerator().binDir
|
dir = self.getGenerator().binDir
|
||||||
|
|
||||||
|
@ -461,6 +461,7 @@ class InternalCommands:
|
||||||
shutil.copy(targetDir + "/synergys", bundleBinDir)
|
shutil.copy(targetDir + "/synergys", bundleBinDir)
|
||||||
shutil.copy(targetDir + "/syntool", bundleBinDir)
|
shutil.copy(targetDir + "/syntool", bundleBinDir)
|
||||||
|
|
||||||
|
if self.enableMakeGui:
|
||||||
# use qt to copy libs to bundle so no dependencies are needed. do not create a
|
# use qt to copy libs to bundle so no dependencies are needed. do not create a
|
||||||
# dmg at this point, since we need to sign it first, and then create our own
|
# dmg at this point, since we need to sign it first, and then create our own
|
||||||
# after signing (so that qt does not affect the signed app bundle).
|
# after signing (so that qt does not affect the signed app bundle).
|
||||||
|
|
Loading…
Reference in New Issue