From 808cdea86a4d642adde47a236aa5b5a65ab4bc7b Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Fri, 26 Jan 2024 10:41:18 +0100 Subject: [PATCH] Add copy-binary script --- copy-binary.ps1 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 copy-binary.ps1 diff --git a/copy-binary.ps1 b/copy-binary.ps1 new file mode 100644 index 00000000..ae76d6f5 --- /dev/null +++ b/copy-binary.ps1 @@ -0,0 +1,11 @@ +param( + [String]$SourcePath, + [String]$FileName, + [String]$Configuration +) + +if ($Configuration -eq "Release") { + $DestinationPath = "P:\Install .Net\0 DD - Bibliotheken\Modules\$FileName" + Copy-Item $SourcePath -Destination $DestinationPath +} +