From 149ed736051d28a58ad289d1e67be8720207aedf Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Wed, 27 Sep 2023 14:46:37 +0100 Subject: [PATCH] swap Copy-Item for Robocopy --- build.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.ps1 b/build.ps1 index eaf20aa..4d1642a 100644 --- a/build.ps1 +++ b/build.ps1 @@ -4,8 +4,8 @@ param( function Copy-FilestoScratchpad { $source = Join-Path $PSScriptRoot "addon" "globalPlugins" "voicemeeter" - $target = Join-Path $env:appdata "nvda" "scratchpad" "globalPlugins" - Copy-Item -Path $source -Destination $target -Recurse -Force + $target = Join-Path $env:appdata "nvda" "scratchpad" "globalPlugins" "voicemeeter" + Robocopy $source $target /MIR /NFL /NDL /NJH /NJS /nc /ns /np } function main {