From c8740a49714396508dfc281af43910b5e1c9192d Mon Sep 17 00:00:00 2001 From: Adam Potolsky Date: Tue, 9 Jun 2015 10:19:27 -0700 Subject: [PATCH] Added copying of MacOS plugins to Synergy bundle #4696 --- ext/toolchain/commands1.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ext/toolchain/commands1.py b/ext/toolchain/commands1.py index 5ef00d2d..eff8b904 100644 --- a/ext/toolchain/commands1.py +++ b/ext/toolchain/commands1.py @@ -739,6 +739,16 @@ class InternalCommands: shutil.copy(targetDir + "/synergys", bundleBinDir) shutil.copy(targetDir + "/syntool", bundleBinDir) + # Copy all generated plugins to the package + bundlePluginDir = bundleBinDir + "plugins" + pluginDir = targetDir + "/plugins" + print "Copying plugins dirtree: " + pluginDir + if os.path.isdir(pluginDir): + print "Copying to: " + bundlePluginDir + shutil.copytree(pluginDir, bundlePluginDir) + else: + print "pluginDir doesn't exist, skipping" + self.loadConfig() if not self.macIdentity: raise Exception("run config with --mac-identity")