Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -586,11 +586,15 @@ function CopyFromLocalCefBuild()
Copy-Item ($CefBinaryDir+$CefFileName) $LocalFile
Write-Diagnostic "Copy of $CefFileName complete"
}

if (-not (Test-Path (Join-Path $Platform.Folder '\include\cef_version.h')))

Write-Diagnostic "Removing $Platform.Folder"
# Always remove directory if exists when copying from local
if (Test-Path $Platform.Folder)
{
ExtractArchive $LocalFile $CefFileName $Platform.Folder
Remove-Item $Platform.Folder -Recurse | Out-Null
}

ExtractArchive $LocalFile $CefFileName $Platform.Folder
}

try
Expand Down