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 + "/syntool", bundleBinDir)
launchServicesDir = dir + "/Synergy.app/Contents/Library/LaunchServices/"
if not os.path.exists(launchServicesDir):
os.makedirs(launchServicesDir)
shutil.copy(targetDir + "/synmacph", launchServicesDir)
if self.macSdk == "10.9":
launchServicesDir = dir + "/Synergy.app/Contents/Library/LaunchServices/"
if not os.path.exists(launchServicesDir):
os.makedirs(launchServicesDir)
shutil.copy(targetDir + "/synmacph", launchServicesDir)
if self.enableMakeGui:
# use qt to copy libs to bundle so no dependencies are needed. do not create a

View File

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