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

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