mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-18 08:57:39 +02:00
copy synmacph only on mavericks. fixed warning on 10.6
This commit is contained in:
parent
6df7ba2fc4
commit
2666bf7cf3
2 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue