copy synmacph only on mavericks. fixed warning on 10.6

This commit is contained in:
jerry 2014-05-06 16:12:27 +00:00
parent 6df7ba2fc4
commit 2666bf7cf3
2 changed files with 6 additions and 5 deletions

View File

@ -780,10 +780,11 @@ class InternalCommands:
shutil.copy(targetDir + "/synergys", bundleBinDir) shutil.copy(targetDir + "/synergys", bundleBinDir)
shutil.copy(targetDir + "/syntool", bundleBinDir) shutil.copy(targetDir + "/syntool", bundleBinDir)
launchServicesDir = dir + "/Synergy.app/Contents/Library/LaunchServices/" if self.macSdk == "10.9":
if not os.path.exists(launchServicesDir): launchServicesDir = dir + "/Synergy.app/Contents/Library/LaunchServices/"
os.makedirs(launchServicesDir) if not os.path.exists(launchServicesDir):
shutil.copy(targetDir + "/synmacph", launchServicesDir) os.makedirs(launchServicesDir)
shutil.copy(targetDir + "/synmacph", launchServicesDir)
if self.enableMakeGui: 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

View File

@ -17,7 +17,7 @@
#pragma once #pragma once
#include <QtCore> #include <AvailabilityInternal.h>
// HACK: ideally this file should not be included in project, // HACK: ideally this file should not be included in project,
// if it is below marvericks, but it seems that .pro can't // if it is below marvericks, but it seems that .pro can't