Skip to content

Commit efc2ef5

Browse files
committed
Build script: do not deploy jpg and readme
1 parent 6b020f6 commit efc2ef5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ $ZipContents += $DWINFolder
7373
$ZipContents | Compress-Archive -DestinationPath $OutputPath -CompressionLevel Optimal -Verbose
7474

7575
if ($Deploy) {
76-
Remove-Item -Path $(Join-Path $Deploy "DWIN_SET") -Recurse -Force -Verbose
77-
Expand-Archive -Path $OutputPath -DestinationPath $Deploy -Verbose -Force
76+
Remove-Item -Path $(Join-Path $Deploy "DWIN_SET") -Recurse -Force -Verbose -ErrorAction SilentlyContinue
77+
Copy-Item "$BuildTmpDir/$FirmwareFolderName" -Destination $Deploy -Verbose -Force -Recurse
7878
}
7979

8080
# Done

0 commit comments

Comments
 (0)