Added copying of MacOS plugins to Synergy bundle #4696
This commit is contained in:
parent
ed37eeca51
commit
c8740a4971
|
@ -739,6 +739,16 @@ class InternalCommands:
|
||||||
shutil.copy(targetDir + "/synergys", bundleBinDir)
|
shutil.copy(targetDir + "/synergys", bundleBinDir)
|
||||||
shutil.copy(targetDir + "/syntool", 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()
|
self.loadConfig()
|
||||||
if not self.macIdentity:
|
if not self.macIdentity:
|
||||||
raise Exception("run config with --mac-identity")
|
raise Exception("run config with --mac-identity")
|
||||||
|
|
Loading…
Reference in New Issue