mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-10 18:15:44 +02:00
Why the fuck is Copy-Item file exclusion not working
This commit is contained in:
parent
c11b40b94a
commit
29d2f4f681
@ -34,7 +34,9 @@ try{
|
||||
New-Item -ItemType directory -Path $targetDir -Name "plugins\user" | Out-Null
|
||||
|
||||
Copy-Item (Join-Path $projectDir "Resources\Scripts\*") -Recurse -Destination (Join-Path $targetDir "scripts")
|
||||
Copy-Item (Join-Path $projectDir "Resources\Plugins\*") -Recurse -Destination (Join-Path $targetDir "plugins\official") -Exclude ".debug", "emoji-instructions.txt"
|
||||
Copy-Item (Join-Path $projectDir "Resources\Plugins\*") -Recurse -Destination (Join-Path $targetDir "plugins\official") -Exclude ".debug"
|
||||
|
||||
Remove-Item (Join-Path $targetDir "plugins\official\emoji-keyboard\emoji-instructions.txt")
|
||||
|
||||
if ($configuration -eq "Debug"){
|
||||
New-Item -ItemType directory -Path $targetDir -Name "plugins\user\.debug" | Out-Null
|
||||
|
Loading…
Reference in New Issue
Block a user