Skip to content

Commit

Permalink
Fix windows desktop help paths (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
heatray authored Oct 12, 2023
1 parent 2a2a665 commit 1af4c7a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions win-linux/package/windows/make_zip.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ Copy-Item -Path "$BrandingDir\data\visual_elements_icon_*" `
# Move Help
Get-ChildItem "$BuildDir\$DesktopDir\editors\web-apps\apps\*\main\resources\help" -Directory `
| ForEach-Object {
$src = Resolve-Path -Relative $_.FullName
$dst = $src -replace "$DesktopDir", "$DesktopHelpDir"
Write-Host "Move: $src > $dst" -ForegroundColor Yellow
New-Item $dst -ItemType Directory -Force | Out-Null
Move-Item -Path $src -Destination $dst -Force
$src = $(Split-Path $_.FullName -Parent | Resolve-Path -Relative)
$dst = $src.Replace("\$DesktopDir\","\$DesktopHelpDir\")
Write-Host "Move: $src\help > $dst" -ForegroundColor Yellow
New-Item "$dst" -ItemType Directory | Out-Null
Move-Item -Path "$src\help" -Destination "$dst"
}

if ( $DesktopDir ) {
Expand Down

0 comments on commit 1af4c7a

Please sign in to comment.