Browse Source

Prefer freshest gpudemod DLL during app build

master
Jan Svabenik 2 days ago
parent
commit
73a54cd98b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      build-sdrplay.ps1

+ 1
- 1
build-sdrplay.ps1 View File

@@ -39,7 +39,7 @@ $dllCandidates = @(
(Join-Path $PSScriptRoot 'gpudemod_kernels.dll')
)
$dllDst = Join-Path $exeDir 'gpudemod_kernels.dll'
$dllSrc = $dllCandidates | Where-Object { Test-Path $_ } | Select-Object -First 1
$dllSrc = $dllCandidates | Where-Object { Test-Path $_ } | Sort-Object { (Get-Item $_).LastWriteTimeUtc } -Descending | Select-Object -First 1
if ($dllSrc) {
$resolvedSrc = (Resolve-Path $dllSrc).Path
$resolvedDst = $dllDst


Loading…
Cancel
Save