# HG changeset patch # User Sebastien Jodogne # Date 1444407810 -7200 # Node ID 7479f1549b437ee4cebf2837e6614d2074faac49 # Parent ce0aee24667bc39c1c47364849615b2bd2a3fcb4 fix diff -r ce0aee24667b -r 7479f1549b43 Orthanc/Resources/EmbedResources.py diff -r ce0aee24667b -r 7479f1549b43 Orthanc/Resources/WindowsResources.py diff -r ce0aee24667b -r 7479f1549b43 Resources/SyncOrthancFolder.py --- a/Resources/SyncOrthancFolder.py Fri Oct 09 18:18:24 2015 +0200 +++ b/Resources/SyncOrthancFolder.py Fri Oct 09 18:23:30 2015 +0200 @@ -10,7 +10,6 @@ import multiprocessing TARGET = os.path.join(os.path.dirname(__file__), '..', 'Orthanc') -BRANCH = 'default' PLUGIN_SDK_VERSION = '0.9.4' FILES = [ @@ -42,8 +41,7 @@ def Download(x): branch = x[0] source = x[1] - - target = os.path.join(TARGET, source) + target = os.path.join(TARGET, x[2]) print target try: @@ -60,10 +58,12 @@ commands = [] for f in FILES: - commands.append([ BRANCH, f ]) + commands.append([ 'default', f, f ]) for f in SDK: - commands.append([ 'Orthanc-%s' % PLUGIN_SDK_VERSION, 'Plugins/Include/%s' % f ]) + commands.append([ 'Orthanc-%s' % PLUGIN_SDK_VERSION, + 'Plugins/Include/%s' % f, + 'Sdk-%s/%s' % (PLUGIN_SDK_VERSION, f) ]) pool = multiprocessing.Pool(10) # simultaneous downloads