From 10c9ae2d4d0871a0fa094c5d72ed3a353518b74e Mon Sep 17 00:00:00 2001 From: Tadas Baltrusaitis Date: Sat, 6 Oct 2018 12:18:37 +0100 Subject: [PATCH] Slight change in packaging code (use a shared download script). --- exe/releases/download_models.ps1 | 12 ------------ exe/releases/package_windows_executables.m | 4 ++-- 2 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 exe/releases/download_models.ps1 diff --git a/exe/releases/download_models.ps1 b/exe/releases/download_models.ps1 deleted file mode 100644 index c6101960..00000000 --- a/exe/releases/download_models.ps1 +++ /dev/null @@ -1,12 +0,0 @@ -$source = "https://www.dropbox.com/s/7na5qsjzz8yfoer/cen_patches_0.25_of.dat?dl=1" -$destination = "model/patch_experts/cen_patches_0.25_of.dat" -Invoke-WebRequest $source -OutFile $destination -$source = "https://www.dropbox.com/s/k7bj804cyiu474t/cen_patches_0.35_of.dat?dl=1" -$destination = "model/patch_experts/cen_patches_0.35_of.dat" -Invoke-WebRequest $source -OutFile $destination -$source = "https://www.dropbox.com/s/ixt4vkbmxgab1iu/cen_patches_0.50_of.dat?dl=1" -$destination = "model/patch_experts/cen_patches_0.50_of.dat" -Invoke-WebRequest $source -OutFile $destination -$source = "https://www.dropbox.com/s/2t5t1sdpshzfhpj/cen_patches_1.00_of.dat?dl=1" -$destination = "model/patch_experts/cen_patches_1.00_of.dat" -Invoke-WebRequest $source -OutFile $destination \ No newline at end of file diff --git a/exe/releases/package_windows_executables.m b/exe/releases/package_windows_executables.m index 6e74cb43..1af9795a 100644 --- a/exe/releases/package_windows_executables.m +++ b/exe/releases/package_windows_executables.m @@ -21,9 +21,9 @@ copyfile([in_x64, 'model'], [out_x64, '/model']) copyfile('readme.txt', out_x86); -copyfile('download_models.ps1', out_x86); +copyfile('../../download_models.ps1', out_x86); copyfile('readme.txt', out_x64); -copyfile('download_models.ps1', out_x64); +copyfile('../../download_models.ps1', out_x64); %% Copy libraries libs_x86 = dir([in_x86, '*.lib'])';