Skip to content

Commit

Permalink
Select latest version of Ghidra automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
reuteras committed Jan 22, 2024
1 parent 76dd334 commit 21a97e4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup/Microsoft.PowerShell_profile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ Set-Alias gfind "$env:ProgramFiles\Git\usr\bin\find.exe"

# Comment this line to see warnings from Python
$env:PYTHONWARNINGS="ignore"

# Find last version of Ghidra
$env:GHIDRA_INSTALL_DIR=(Get-ChildItem C:\Tools\ghidra\ | Select-String PUBLIC -Raw | Select-Object -Last 1)

# Set environment variables
$env:PATH_TO_FX="C:\Tools\javafx-sdk\lib"
$env:GHIDRA_INSTALL_DIR="C:\Tools\ghidra"

# Dynamically added functions below

0 comments on commit 21a97e4

Please sign in to comment.