mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-5703: Only require minor versions to match in auto-install.
This commit is contained in:
parent
f30aee4535
commit
deadfe59a1
6 changed files with 10 additions and 10 deletions
|
@ -12,7 +12,7 @@ function Find-App-Properties {
|
|||
|
||||
function Get-Ghidra-Version {
|
||||
$props = Find-App-Properties
|
||||
$m = Get-Content $props | Select-String -Pattern "application\.version=(.*)"
|
||||
$m = Get-Content $props | Select-String -Pattern "application\.version=([0-9]*\.[0-9]*)\.?.*"
|
||||
return $m.Matches.Groups[1].Value
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue