Skip to content

Commit

Permalink
x86 and x64 instead of Win32/64
Browse files Browse the repository at this point in the history
  • Loading branch information
mattia72 committed Nov 3, 2024
1 parent 5bc8cf6 commit 746ddc3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions deploy/Deploy-DRipGrepper.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ function New-ReleaseWithAsset {
Build-ExtensionRelease
}

$delphiBplRoot = $("$env:PUBLIC\Documents\Embarcadero\Studio\$(Get-InstalledDelphiVersions -Latest)")
$latestVersion = $(Get-InstalledDelphiVersions -Latest)
$delphiBplRoot = $("$env:PUBLIC\Documents\Embarcadero\Studio\$($latestVersion.Version)")
$extensionPath = Join-Path "$delphiBplRoot" "Bpl\$global:ExtensionFileName"

if ($Deploy -or $LocalDeploy) {
Expand All @@ -213,7 +214,7 @@ function New-ReleaseWithAsset {
$compress = @{
Path = "$AssetDir\*.*"
CompressionLevel = "Fastest"
DestinationPath = "$global:AssetsDirectory\$($global:AssetZipName -f $_, $global:Version)"
DestinationPath = "$global:AssetsDirectory\$($global:AssetZipName -f $($win64 ? 'x64' : 'x86'), $global:Version)"
Force = $true
}
Compress-Archive @compress
Expand Down

0 comments on commit 746ddc3

Please sign in to comment.