swap Copy-Item for Robocopy

This commit is contained in:
onyx-and-iris 2023-09-27 14:46:37 +01:00
parent ecca4c65c8
commit 149ed73605

View File

@ -4,8 +4,8 @@ param(
function Copy-FilestoScratchpad { function Copy-FilestoScratchpad {
$source = Join-Path $PSScriptRoot "addon" "globalPlugins" "voicemeeter" $source = Join-Path $PSScriptRoot "addon" "globalPlugins" "voicemeeter"
$target = Join-Path $env:appdata "nvda" "scratchpad" "globalPlugins" $target = Join-Path $env:appdata "nvda" "scratchpad" "globalPlugins" "voicemeeter"
Copy-Item -Path $source -Destination $target -Recurse -Force Robocopy $source $target /MIR /NFL /NDL /NJH /NJS /nc /ns /np
} }
function main { function main {